summaryrefslogtreecommitdiff
path: root/chat/ircu
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
commit960171aa995ba9a28a5c49a383750d43281cbc4f (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/ircu
parentb98d5450b595b15bf04433f737a91ddd33d9dfae (diff)
downloadpkgsrc-960171aa995ba9a28a5c49a383750d43281cbc4f.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'chat/ircu')
-rw-r--r--chat/ircu/Makefile28
1 files changed, 15 insertions, 13 deletions
diff --git a/chat/ircu/Makefile b/chat/ircu/Makefile
index 8e548047398..9f6d3300c93 100644
--- a/chat/ircu/Makefile
+++ b/chat/ircu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2008/02/04 20:10:34 tnn Exp $
+# $NetBSD: Makefile,v 1.31 2008/03/03 02:19:51 jlam Exp $
#
DISTNAME= ircu2.10.12.12
@@ -12,6 +12,8 @@ COMMENT= Internet Relay Chat server customized for Undernet
CONFLICTS+= ircd-hybrid-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_TOOLS+= lex
@@ -59,18 +61,18 @@ PKG_SHELL.${IRCD_USER}= ${SH}
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/ircd/ircd ${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/ircd/umkpasswd ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/ircd/ircd ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/ircd/umkpasswd ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ircd/convert-conf \
- ${PREFIX}/bin/uconvert-conf
- ${INSTALL_MAN} ${WRKSRC}/doc/ircd.8 ${PREFIX}/${PKGMANDIR}/man8
- ${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/RELEASE.NOTES ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/readme.* ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR}
+ ${DESTDIR}${PREFIX}/bin/uconvert-conf
+ ${INSTALL_MAN} ${WRKSRC}/doc/ircd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/RELEASE.NOTES ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/readme.* ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"