diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 20:50:59 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 20:50:59 +0000 |
commit | 58250573bbcbf65d9b7fceb03a1ca730e232c636 (patch) | |
tree | 2043fbbbd079856002aabbb8346a5790c918af81 /net/dynipclient/Makefile | |
parent | 67c99775cf0499d02004b5ff1a9953cd05ea940e (diff) | |
download | pkgsrc-58250573bbcbf65d9b7fceb03a1ca730e232c636.tar.gz |
DESTDIR support
Diffstat (limited to 'net/dynipclient/Makefile')
-rw-r--r-- | net/dynipclient/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/net/dynipclient/Makefile b/net/dynipclient/Makefile index c34e984917b..2b03481d49f 100644 --- a/net/dynipclient/Makefile +++ b/net/dynipclient/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/07 09:14:02 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2010/02/11 20:50:59 joerg Exp $ # DISTNAME= dynip_3.00 @@ -12,22 +12,23 @@ HOMEPAGE= http://www.dynip.com/ COMMENT= Client for the dynip.com dynamic DNS service +PKG_DESTDIR_SUPPORT= user-destdir + RCD_SCRIPTS= dynipclient EGDIR= ${PREFIX}/share/examples/dynipclient CONF_FILES= ${EGDIR}/dynip.cfg ${PKG_SYSCONFDIR}/dynip.cfg -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR} do-build: cd ${WRKSRC} && ./Configure freebsd ${PREFIX}/bin ${PKG_SYSCONFDIR} \ ${PREFIX}/man do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dynipadmin ${PREFIX}/bin/ - ${INSTALL_PROGRAM} ${WRKSRC}/dynipclient ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/*.1 ${PREFIX}/${PKGMANDIR}/man1/ - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/dynip.cfg ${EGDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/dynipadmin ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/dynipclient ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_DATA} ${WRKSRC}/dynip.cfg ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" |