diff options
author | joerg <joerg> | 2009-07-07 22:17:24 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 22:17:24 +0000 |
commit | 74841b407f63eb09325234a970969922ecd6ab8f (patch) | |
tree | 3b99534c3df848cc3df6d11505de1c9819144bcb /textproc/dict-server | |
parent | 27d4e46f1320dcf89907750817085903906fb871 (diff) | |
download | pkgsrc-74841b407f63eb09325234a970969922ecd6ab8f.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/dict-server')
-rw-r--r-- | textproc/dict-server/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/dict-server/Makefile b/textproc/dict-server/Makefile index d4d3555e108..8f90d438a8e 100644 --- a/textproc/dict-server/Makefile +++ b/textproc/dict-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2006/11/24 23:04:15 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2009/07/07 22:19:53 joerg Exp $ DISTNAME= dictd-1.9.15 PKGNAME= dict-server-1.9.15 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.dict.org/ COMMENT= Dictionary Service Protocol server +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake lex yacc GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-cflags=${CFLAGS:M*:Q} @@ -18,6 +20,7 @@ CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR:Q} BUILD_TARGET= dictd dictzip INSTALL_TARGET= install.dictd install.dictzip install.dictfmt +INSTALLATION_DIRS= ${EGDIR} share/dictd EGDIR= ${PREFIX}/share/examples/dict-server CONF_FILES= ${EGDIR}/dictd.conf \ @@ -33,10 +36,8 @@ post-patch: done post-install: - ${INSTALL_DATA_DIR} ${EGDIR} ${SED} "s#/usr/lib/dict#${PREFIX}/share/dictd#" \ - ${WRKSRC}/dictd.conf >${EGDIR}/dictd.conf - ${INSTALL_DATA_DIR} ${PREFIX}/share/dictd + ${WRKSRC}/dictd.conf >${DESTDIR}${EGDIR}/dictd.conf .include "../../devel/libltdl/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |