diff options
Diffstat (limited to 'net/gofish/Makefile')
-rw-r--r-- | net/gofish/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net/gofish/Makefile b/net/gofish/Makefile index 2dffe5849f9..e78cc8fa467 100644 --- a/net/gofish/Makefile +++ b/net/gofish/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/10/09 19:19:14 martti Exp $ +# $NetBSD: Makefile,v 1.11 2008/06/20 01:09:30 joerg Exp $ DISTNAME= gofish-1.1 PKGREVISION= 2 @@ -9,6 +9,8 @@ MAINTAINER= emil@math.su.se HOMEPAGE= http://gofish.sourceforge.net/ COMMENT= Gopher server +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/gofish USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes @@ -43,11 +45,11 @@ SUBST_MESSAGE.user= Fixing name of gopher user in files. SUBST_FILES.user= gofish.conf SUBST_SED.user= -e "s/;user = gopher/user = ${GOPHER_USER}/g" +INSTALLATION_DIRS= share/examples/gofish share/doc/gofish + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gofish - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gofish - ${INSTALL_DATA} ${WRKSRC}/gofish.conf ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/gofish-www.conf ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/Configure_GoFish ${PREFIX}/share/doc/gofish + ${INSTALL_DATA} ${WRKSRC}/gofish.conf ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/gofish-www.conf ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/Configure_GoFish ${DESTDIR}${PREFIX}/share/doc/gofish .include "../../mk/bsd.pkg.mk" |