Date: Fri, 11 Apr 2014 21:38:14 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351047 - head/security/portsentry Message-ID: <201404112138.s3BLcEQw059749@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Apr 11 21:38:14 2014 New Revision: 351047 URL: http://svnweb.freebsd.org/changeset/ports/351047 QAT: https://qat.redports.org/buildarchive/r351047/ Log: - Support staging - Define DOCS option Modified: head/security/portsentry/Makefile Modified: head/security/portsentry/Makefile ============================================================================== --- head/security/portsentry/Makefile Fri Apr 11 21:36:04 2014 (r351046) +++ head/security/portsentry/Makefile Fri Apr 11 21:38:14 2014 (r351047) @@ -15,21 +15,22 @@ CFLAGS+= -DPREFIX=\"${PREFIX}\" MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" WRKSRC= ${WRKDIR}/portsentry_beta -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,/usr/local/psionic/portsentry,${PREFIX}/etc,g' \ ${WRKSRC}/portsentry.conf ${WRKSRC}/portsentry_config.h do-install: - ${INSTALL_DATA} ${WRKSRC}/portsentry.conf ${PREFIX}/etc/portsentry.conf.default - ${INSTALL_DATA} ${WRKSRC}/portsentry.ignore ${PREFIX}/etc/portsentry.ignore.default - ${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKDIR}/portsentry.sh ${PREFIX}/etc/rc.d/ -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods ${WRKSRC}/README.stealth \ - ${DOCSDIR} -.endif - @${CAT} ${PKGMESSAGE} + ${INSTALL_DATA} ${WRKSRC}/portsentry.conf \ + ${STAGEDIR}${PREFIX}/etc/portsentry.conf.default + ${INSTALL_DATA} ${WRKSRC}/portsentry.ignore \ + ${STAGEDIR}${PREFIX}/etc/portsentry.ignore.default + ${INSTALL_PROGRAM} ${WRKSRC}/portsentry \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/portsentry.sh ${STAGEDIR}${PREFIX}/etc/rc.d/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods \ + ${WRKSRC}/README.stealth ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404112138.s3BLcEQw059749>