diff options
author | markd <markd> | 2009-02-11 21:52:59 +0000 |
---|---|---|
committer | markd <markd> | 2009-02-11 21:52:59 +0000 |
commit | d3863fd5dc50dabe84b5a6e1723cb018d5500ba9 (patch) | |
tree | 8f40e8efc81aabfc1cb914dc02bde1928fb7b73d | |
parent | 314874994d8b0e1985fdb4c88d79c7e21fc28dd8 (diff) | |
download | pkgsrc-d3863fd5dc50dabe84b5a6e1723cb018d5500ba9.tar.gz |
add DESTDIR support. Drop maintainership.
-rw-r--r-- | net/airport2basestationconfig/Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/net/airport2basestationconfig/Makefile b/net/airport2basestationconfig/Makefile index 4f998625769..f6c56ea9205 100644 --- a/net/airport2basestationconfig/Makefile +++ b/net/airport2basestationconfig/Makefile @@ -1,16 +1,18 @@ -# $NetBSD: Makefile,v 1.10 2006/02/05 23:10:22 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2009/02/11 21:52:59 markd Exp $ DISTNAME= configurator_201 PKGNAME= ${BINNAME}-2.0.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net MASTER_SITES= ${HOMEPAGE} EXTRACT_SUFX= .zip -MAINTAINER= markd@NetBSD.org +MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ COMMENT= Configuration program for Apple's Airport Base Station +PKG_DESTDIR_SUPPORT= user-destdir + PLIST_SUBST+= BINNAME=${BINNAME:Q} JARNAME=${JARNAME:Q} ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc Darwin-*-* @@ -24,9 +26,9 @@ LIBDIR= ${PREFIX}/lib/${BINNAME} .include "../../mk/bsd.prefs.mk" USE_JAVA= run -PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 blackdown-jdk13 jdk14 +PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 sun-jdk15 blackdown-jdk13 jdk14 -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/doc/${BINNAME} lib/${BINNAME} post-extract: ${CHMOD} -R g-w,o-w ${WRKSRC}/* @@ -40,15 +42,14 @@ do-build: ${ECHO} "exec java -jar ${LIBDIR}/${JARNAME}" >>${WRKSRC}/${BINNAME} do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} ${LIBDIR} cd ${WRKSRC} && \ - ${INSTALL_SCRIPT} ${BINNAME} ${PREFIX}/bin && \ - ${INSTALL_DATA} ${JARNAME} ${LIBDIR} && \ - ${INSTALL_DATA} AUTHORS ${DOCDIR} && \ - ${INSTALL_DATA} COPYING ${DOCDIR} && \ + ${INSTALL_SCRIPT} ${BINNAME} ${DESTDIR}${PREFIX}/bin && \ + ${INSTALL_DATA} ${JARNAME} ${DESTDIR}${LIBDIR} && \ + ${INSTALL_DATA} AUTHORS ${DESTDIR}${DOCDIR} && \ + ${INSTALL_DATA} COPYING ${DESTDIR}${DOCDIR} && \ cd helpdocs && \ - ${INSTALL_DATA} ReadMe.txt ${DOCDIR}/README && \ - ${INSTALL_DATA} mainscreen.jpg manual.html ${DOCDIR} + ${INSTALL_DATA} ReadMe.txt ${DESTDIR}${DOCDIR}/README && \ + ${INSTALL_DATA} mainscreen.jpg manual.html ${DESTDIR}${DOCDIR} .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |