diff options
author | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
commit | 476429c9f7b93362ea027fafcaa1bb835868c0d1 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/mirmon | |
parent | df44780831cf4dadccea821bb560fbdd11bda60b (diff) | |
download | pkgsrc-476429c9f7b93362ea027fafcaa1bb835868c0d1.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/mirmon')
-rw-r--r-- | misc/mirmon/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/misc/mirmon/Makefile b/misc/mirmon/Makefile index 74be4d17488..2ede4adc6b6 100644 --- a/misc/mirmon/Makefile +++ b/misc/mirmon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2007/12/02 13:04:11 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2008/03/04 19:21:11 jlam Exp $ # DISTNAME= mirmon-1.36 @@ -10,6 +10,7 @@ HOMEPAGE= http://people.cs.uu.nl/henkp/mirmon/ COMMENT= Monitor the state of mirror servers PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir REPLACE_PERL+= mirmon USE_TOOLS+= perl:run pod2man @@ -36,13 +37,13 @@ do-build: cd ${WRKSRC} && ${POD2MAN} mirmon > ${WRKDIR}/mirmon.1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/mirmon ${PREFIX}/bin - ${INSTALL_MAN} ${WRKDIR}/mirmon.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${EG_DIR} - ${INSTALL_DATA} ${WRKDIR}/mirmon.conf ${EG_DIR} - ${INSTALL_DATA_DIR} ${MIRMONDIR} - ${INSTALL_DATA} ${WRKSRC}/countries.list ${MIRMONDIR} - ${INSTALL_DATA_DIR} ${MIRMONDIR}/icons - cd ${WRKSRC}/icons && ${INSTALL_DATA} * ${MIRMONDIR}/icons + ${INSTALL_SCRIPT} ${WRKSRC}/mirmon ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKDIR}/mirmon.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${EG_DIR} + ${INSTALL_DATA} ${WRKDIR}/mirmon.conf ${DESTDIR}${EG_DIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${MIRMONDIR} + ${INSTALL_DATA} ${WRKSRC}/countries.list ${DESTDIR}${MIRMONDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${MIRMONDIR}/icons + cd ${WRKSRC}/icons && ${INSTALL_DATA} * ${DESTDIR}${MIRMONDIR}/icons .include "../../mk/bsd.pkg.mk" |