diff options
Diffstat (limited to 'comms/fidogate/Makefile')
-rw-r--r-- | comms/fidogate/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile index ec1893610cc..6c5dcda63c0 100644 --- a/comms/fidogate/Makefile +++ b/comms/fidogate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.60 2009/06/30 00:07:11 joerg Exp $ +# $NetBSD: Makefile,v 1.61 2009/12/18 01:09:23 abs Exp $ # DISTNAME= fidogate-4.4.10 @@ -20,7 +20,7 @@ EGDIR= ${PREFIX}/share/examples/fidogate CONF_FILES= ${EGDIR}/fidogate.conf ${PKG_SYSCONFDIR}/fidogate/fidogate.conf RCD_SCRIPTS= fidogate RCD_SCRIPT_SRC.fidogate= ${WRKSRC}/scripts/maintenance/rc.fidogate -INFO_FILES= # PLIST +INFO_FILES= yes # PLIST PKG_GROUPS= news PKG_USERS= news:news @@ -39,14 +39,17 @@ SUBST_STAGE.paths= pre-build # Too many schar/uchar issues. BUILDLINK_TRANSFORM+= rm:-Werror +PKG_DESTDIR_SUPPORT= destdir + OWN_DIRS= ${PKG_SYSCONFDIR}/fidogate -INSTALLATION_DIRS= ${EGDIR} lib/fidogate \ +INSTALLATION_DIRS+= ${EGDIR} lib/fidogate \ lib/fidogate/bin share/doc/fidogate \ share/fidogate share/fidogate/sendmail \ + info \ share/fidogate/sendmail/mailer share/examples/rc.d post-extract: - @${CP} ${WRKSRC}/examples/orodruin/fidogate.conf \ + ${CP} ${WRKSRC}/examples/orodruin/fidogate.conf \ ${WRKSRC}/fidogate.conf.dist pre-build: @@ -58,12 +61,12 @@ pre-build: post-install: cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d -print`; do \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fidogate/$$f; done + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/fidogate/$$f; done cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f -print`; do \ - ${INSTALL_DATA} $$f ${PREFIX}/share/examples/fidogate/$$f; done + ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/examples/fidogate/$$f; done cd ${WRKSRC}/sendmail/mailer && ${INSTALL_DATA} ffx.m4 ftn.m4 \ - ${PREFIX}/share/fidogate/sendmail/mailer - ${INSTALL_DATA} ${WRKSRC}/doc/fidogate.txt ${PREFIX}/share/doc/fidogate - ${INSTALL_DATA} ${WRKSRC}/fidogate.conf ${EGDIR} + ${DESTDIR}${PREFIX}/share/fidogate/sendmail/mailer + ${INSTALL_DATA} ${WRKSRC}/doc/fidogate.txt ${DESTDIR}${PREFIX}/share/doc/fidogate + ${INSTALL_DATA} ${WRKSRC}/fidogate.conf ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" |