diff options
author | garga <garga@FreeBSD.org> | 2012-08-03 23:34:45 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2012-08-03 23:34:45 +0800 |
commit | 614c4ed9928269c536345007e69e8ba648fccf8d (patch) | |
tree | 840e8379f841715c5db9a647458ff49f7766d803 /net/rinetd | |
parent | a3dfce416fb9bdc21b43f0f2cbc480e7205aaa94 (diff) | |
download | freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.tar.gz freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.tar.zst freebsd-ports-gnome-614c4ed9928269c536345007e69e8ba648fccf8d.zip |
Add DOCS, EXAMPLES and NLS to OPTIONS_DEFINE to my ports
Diffstat (limited to 'net/rinetd')
-rw-r--r-- | net/rinetd/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/rinetd/Makefile b/net/rinetd/Makefile index dac10b5a8a63..c4b2c0709bd1 100644 --- a/net/rinetd/Makefile +++ b/net/rinetd/Makefile @@ -17,6 +17,9 @@ DISTNAME= rinetd MAINTAINER= garga@FreeBSD.org COMMENT= A simple TCP port redirector +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS + WRKSRC= ${WRKDIR}/rinetd/ MAKE_JOBS_SAFE= yes @@ -28,6 +31,8 @@ PLIST_FILES= sbin/rinetd USE_RC_SUBR= rinetd.sh +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -E "s,(/etc/rinetd.conf),${PREFIX}\1," \ ${WRKSRC}/rinetd.[8c] @@ -36,10 +41,10 @@ post-patch: @${REINPLACE_CMD} -e "s/cc /${CC} /g" ${WRKSRC}/Makefile post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |