aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 09:49:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 09:49:49 +0000
commit851e129d4466cf5640db015a83c7e74c55d9e0a9 (patch)
tree673c2638a2b027a9147fc035bb15b41d53486cf9 /news
parent08029efab05d5a88820c2a29f04c6dfc5e8144ac (diff)
downloadports-851e129d4466cf5640db015a83c7e74c55d9e0a9.tar.gz
ports-851e129d4466cf5640db015a83c7e74c55d9e0a9.zip
Notes
Diffstat (limited to 'news')
-rw-r--r--news/noffle/Makefile36
-rw-r--r--news/noffle/pkg-plist2
2 files changed, 10 insertions, 28 deletions
diff --git a/news/noffle/Makefile b/news/noffle/Makefile
index 1931ffa4263c..82df632623da 100644
--- a/news/noffle/Makefile
+++ b/news/noffle/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28devel%29/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= News server for low speed dial-up connections
-LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
GNU_CONFIGURE= yes
@@ -22,48 +22,28 @@ CPPFLAGS+= -I${LOCALBASE}/include
SPOOL_DIR= /var/spool/noffle
PLIST_SUB+= SPOOL_DIR=${SPOOL_DIR}
-MAN1= noffle.1
-MAN5= noffle.conf.5
DOCS= ChangeLog docs/FAQ INSTALL docs/INTERNALS README \
docs/testing.txt docs/noffle.lsm
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|/etc/noffle.conf|${PREFIX}/etc/noffle.conf|g' \
${WRKSRC}/docs/${PORTNAME}.1 \
${WRKSRC}/docs/${PORTNAME}.conf.5
-.include <bsd.port.options.mk>
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
- ${PREFIX}/bin
+ ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/noffle.1 \
- ${PREFIX}/man/man1
+ ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/noffle.conf.5 \
- ${PREFIX}/man/man5
+ ${STAGEDIR}${PREFIX}/man/man5
${INSTALL_DATA} ${WRKSRC}/noffle.conf.example \
- ${PREFIX}/etc/noffle.conf.sample
- @${ECHO}
- @${ECHO} "------------------------------------------------------------"
- @${ECHO} "Sample of configuration file placed at"
- @${ECHO} "${PREFIX}/etc/noffle.conf.sample"
- @${ECHO} "------------------------------------------------------------"
- @${ECHO}
- @${MKDIR} ${SPOOL_DIR}
- @${MKDIR} ${SPOOL_DIR}/data
- @${MKDIR} ${SPOOL_DIR}/lock
- @${MKDIR} ${SPOOL_DIR}/outgoing
- @${MKDIR} ${SPOOL_DIR}/overview
- @${MKDIR} ${SPOOL_DIR}/requested
- @${CHOWN} -R news:news ${SPOOL_DIR}
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+ ${STAGEDIR}${PREFIX}/etc/noffle.conf.sample
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
post-install:
- @${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
+ ${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/news/noffle/pkg-plist b/news/noffle/pkg-plist
index 63ae3fa308eb..689bf4bb547c 100644
--- a/news/noffle/pkg-plist
+++ b/news/noffle/pkg-plist
@@ -1,4 +1,6 @@
bin/noffle
+man/man1/noffle.1.gz
+man/man5/noffle.conf.5.gz
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/INSTALL