diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
commit | a9ff4b49c10701f4d22eb1a173e03064089672bb (patch) | |
tree | 2f75f2dd22479e7d9e0d627ea798a4d2a036e75f /mail/sentinel | |
parent | aa3da1c84cdb0e5dfb190c16f74ea3d9def166a7 (diff) | |
download | freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.gz freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.zst freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.zip |
- use STAGEDIR
- use OPTIONS_DEFINE
Diffstat (limited to 'mail/sentinel')
-rw-r--r-- | mail/sentinel/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mail/sentinel/Makefile b/mail/sentinel/Makefile index fa074aeded68..874fd4fb80be 100644 --- a/mail/sentinel/Makefile +++ b/mail/sentinel/Makefile @@ -12,7 +12,7 @@ COMMENT= A sendmail milter API implementation LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre -NO_STAGE= yes +NEED_ROOT= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -32,15 +32,15 @@ do-build: -lmilter -lpcre -lpcreposix ${PTHREAD_LIBS} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/sbin - @${MKDIR} /var/spool/sentinel - ${CHOWN} smmsp:smmsp /var/spool/sentinel - ${INSTALL_DATA} ${FILESDIR}/000.sentinel.sh ${PREFIX}/etc/rc.d/sentinel.sh-dist - ${INSTALL_DATA} ${WRKSRC}/sentinel.cf.SAMPLE ${PREFIX}/etc/sentinel.cf.dist -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${STAGEDIR}${PREFIX}/sbin/ + @${MKDIR} ${STAGEDIR}/var/spool/sentinel + ${CHOWN} smmsp:smmsp ${STAGEDIR}/var/spool/sentinel + ${INSTALL_DATA} ${FILESDIR}/000.sentinel.sh ${STAGEDIR}${PREFIX}/etc/rc.d/sentinel.sh-dist + ${INSTALL_DATA} ${WRKSRC}/sentinel.cf.SAMPLE ${STAGEDIR}${PREFIX}/etc/sentinel.cf.dist +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${STAGEDIR}${DOCSDIR} .endif post-install: |