summaryrefslogtreecommitdiff
path: root/pkgtools/pkgin/Makefile
diff options
context:
space:
mode:
authorimil <imil>2010-01-24 14:56:24 +0000
committerimil <imil>2010-01-24 14:56:24 +0000
commit338771e17388e27dd87e668cff564020b8b9bb71 (patch)
tree9ee1634694822ae0f36d2fca43a564e9d9b53a39 /pkgtools/pkgin/Makefile
parentcca11a97c510dbe2eb5806455ebe52b43d3fd510 (diff)
downloadpkgsrc-338771e17388e27dd87e668cff564020b8b9bb71.tar.gz
pkgin 0.3.3 import from wip/pkgin-20100123
- Solaris 10 support - Mac OS X support - Added -l status flags - autoconf support - percentage redraw fix (jmcneill) - variables cleanups (PKG_SYSCONFDIR, VARBASE) (sketch) - auto-lookup for SUMEXTS, removed options.mk (sketch) - opensolaris fixes (sketch) - repositories.conf variables substitution (tuxillo) - impact mutex (Johannes Hofmann) - SunOS 5.8 support (Mikhail T.) Plus many cleanups from stacktic@ - Replaced strstr's with str{n}cmp when possible - #ifdef'ed PROVIDES - Queries are now const chars - Added -n (no-flag) - Various memleaks fixed - pkgname comparison fix - Cleaned up trailing spaces - Got rid of recursion !
Diffstat (limited to 'pkgtools/pkgin/Makefile')
-rw-r--r--pkgtools/pkgin/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/pkgtools/pkgin/Makefile b/pkgtools/pkgin/Makefile
index 78880a63fa8..88e579eafa1 100644
--- a/pkgtools/pkgin/Makefile
+++ b/pkgtools/pkgin/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2010/01/17 12:02:37 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2010/01/24 14:56:24 imil Exp $
#
-DISTNAME= pkgin-0.2.5
-PKGREVISION= 1
+DISTNAME= pkgin-0.3.3
CATEGORIES= pkgtools
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/imil/
@@ -17,25 +16,25 @@ EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/repositories.conf.example \
${PKG_SYSCONFDIR}/${PKGBASE}/repositories.conf
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR} \
- ${PKG_SYSCONFDIR}/${PKGBASE}
+OWN_DIRS+= ${PKG_SYSCONFDIR}/${PKGBASE}
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${EGDIR}
WRKSRC= ${WRKDIR}/pkgin
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_MESSAGE.path= Adjusting path.
-SUBST_FILES.path= Makefile actions.c pkgin.1
-SUBST_SED.path= -e "s|/usr/pkg|${PREFIX}|g"
+SUBST_FILES.path= Makefile.in actions.c pkgin.1
+SUBST_SED.path= -e "s|/usr/pkg/etc|${PKG_SYSCONFDIR}|g"
+SUBST_SED.path+= -e "s|/usr/pkg|${PREFIX}|g"
SUBST_SED.path+= -e "s|/usr/sbin|${PKG_TOOLS_BIN}|g"
+SUBST_SED.path+= -e "s|/var|${VARBASE}|g"
-USE_BSD_MAKEFILE= yes
-USE_FEATURES= nbcompat
+GNU_CONFIGURE= yes
+USE_FEATURES= nbcompat
NBCOMPAT_CONFIGURE_ARGS+= --enable-db
-.include "options.mk"
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pkgin ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pkgin.1 \