diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-13 01:34:44 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-13 01:34:44 +0800 |
commit | d51a726ba0e9734175d3fbf0c892b47860872dc7 (patch) | |
tree | d2f7350d1d10a9a14a46fa8650bf9a8a168f1604 /news | |
parent | 269df6aac39fd8119b24ef835ba837d0bfbb0518 (diff) | |
download | freebsd-ports-gnome-d51a726ba0e9734175d3fbf0c892b47860872dc7.tar.gz freebsd-ports-gnome-d51a726ba0e9734175d3fbf0c892b47860872dc7.tar.zst freebsd-ports-gnome-d51a726ba0e9734175d3fbf0c892b47860872dc7.zip |
- Add missing directories to plist, fixing stage-qa
- Silence patching
- Switch to options helpers
PR: 203665
Submitted by: amdmi3
Approved by: lifanov@mail.lifanov.com (maintainer)
Diffstat (limited to 'news')
-rw-r--r-- | news/diablo/Makefile | 20 | ||||
-rw-r--r-- | news/diablo/pkg-plist | 9 |
2 files changed, 19 insertions, 10 deletions
diff --git a/news/diablo/Makefile b/news/diablo/Makefile index cb39760365f4..ac8bbf89190b 100644 --- a/news/diablo/Makefile +++ b/news/diablo/Makefile @@ -20,24 +20,21 @@ PORTDOCS= COPYRIGHT INSTALL README.READER README.SERVER RELEASE_NOTES OPTIONS_DEFINE= DES DOCS DES_DESC= DES encryption support -USES= tar:tgz - -.include <bsd.port.options.mk> +USES= tar:tgz post-patch: - ${CP} ${FILESDIR}/diablo.in ${WRKDIR}/diablo - ${REINPLACE_CMD} -E 's|%%PREFIX%%|${STAGEDIR}${PREFIX}|g ;\ + @${CP} ${FILESDIR}/diablo.in ${WRKDIR}/diablo + @${REINPLACE_CMD} -E 's|%%PREFIX%%|${STAGEDIR}${PREFIX}|g ;\ s|-g -O.?|${CFLAGS}| ; s|g?cc|${CC}|' \ ${WRKSRC}/XMakefile.inc - ${REINPLACE_CMD} -E 's|%%PREFIX%%|${PREFIX}|g' \ + @${REINPLACE_CMD} -E 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKDIR}/diablo ${WRKSRC}/XMakefile.inst # Fix for GCC 4.2 - ${REINPLACE_CMD} -e 's|VServerConfig\[\]|*VServerConfig|' \ + @${REINPLACE_CMD} -e 's|VServerConfig\[\]|*VServerConfig|' \ ${WRKSRC}/dreaderd/main.c -.if empty(PORT_OPTIONS:MDES) - ${REINPLACE_CMD} -e 's| -ldes||g' ${WRKSRC}/XMakefile.inc -.endif +post-patch-DES-off: + @${REINPLACE_CMD} -e 's| -ldes||g' ${WRKSRC}/XMakefile.inc do-build: (cd ${WRKSRC} && xmake all) @@ -51,8 +48,11 @@ do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/group ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/postq (cd ${WRKSRC} && xmake install) + @${RM} -rf ${STAGEDIR}${PREFIX}/news/man @${STRIP_CMD} ${STAGEDIR}${PREFIX}/news/dbin/* ${INSTALL_SCRIPT} ${WRKDIR}/diablo ${STAGEDIR}${PREFIX}/etc/rc.d + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} diff --git a/news/diablo/pkg-plist b/news/diablo/pkg-plist index cd652ba29982..d36c70998299 100644 --- a/news/diablo/pkg-plist +++ b/news/diablo/pkg-plist @@ -122,5 +122,14 @@ news/samples/reader/distrib.pats news/samples/reader/dreader.access news/samples/reader/dserver.hosts news/samples/reader/moderators +@dir news/spool/postq +@dir news/spool/news +@dir news/spool/group +@dir news/spool/cache +@dir news/spool +@dir news/run +@dir news/log +@dir news/dqueue +@dir news @owner @group |