diff options
author | joerg <joerg> | 2010-01-27 20:22:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 20:22:54 +0000 |
commit | 30d83fb27505366b855a4483a01be3b525f0c082 (patch) | |
tree | e7334fc58638e96ae8ca8eb7c5995a07c064abc0 /sysutils | |
parent | c9d67ecc210d237b74d46e4179c954b53b05544a (diff) | |
download | pkgsrc-30d83fb27505366b855a4483a01be3b525f0c082.tar.gz |
DESTDIR support. Create runtime directories at install time. Bump revision.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/tob/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/sysutils/tob/Makefile b/sysutils/tob/Makefile index 54e093ebf6e..dfdcdc3e9e3 100644 --- a/sysutils/tob/Makefile +++ b/sysutils/tob/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2006/10/19 23:56:13 rillig Exp $ +# $NetBSD: Makefile,v 1.12 2010/01/27 20:22:54 joerg Exp $ DISTNAME= tob-0.25 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://tinyplanet.ca/projects/tob/ EXTRACT_SUFX= .tgz @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://tinyplanet.ca/projects/tob/ COMMENT= General driver for making and maintaining backups +PKG_DESTDIR_SUPPORT= user-destdir + EGDIR= ${PREFIX}/share/examples/tob CONF_FILES= ${EGDIR}/tob.rc ${PKG_SYSCONFDIR}/tob/tob.rc CONF_FILES+= ${EGDIR}/example.exclude ${PKG_SYSCONFDIR}/tob/volumes/example.exclude @@ -29,17 +31,16 @@ SUBST_SED.confdir+= -e 's|@VARBASE@|${VARBASE}|g' BUILD_DEFS+= VARBASE +OWN_DIRS+= ${VARBASE}/tob ${PKG_SYSCONFDIR}/tob/volumes + do-build: @${DO_NADA} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tob ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/tob.8 ${PREFIX}/${PKGMANDIR}/man8/ - ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/tob - ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/tob/volumes - ${INSTALL_DATA_DIR} ${VARBASE}/tob - ${INSTALL_DATA} ${WRKSRC}/tob.rc ${EGDIR}/tob.rc - ${INSTALL_DATA} ${WRKSRC}/example.exclude ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/example.startdir ${EGDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/tob ${DESTDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/tob.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ + ${INSTALL_DATA} ${WRKSRC}/tob.rc ${DESTDIR}${EGDIR}/tob.rc + ${INSTALL_DATA} ${WRKSRC}/example.exclude ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/example.startdir ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" |