diff options
Diffstat (limited to 'news/nntpbtr/Makefile')
-rw-r--r-- | news/nntpbtr/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/news/nntpbtr/Makefile b/news/nntpbtr/Makefile index ccd4e07efe7c..306af2d3b78c 100644 --- a/news/nntpbtr/Makefile +++ b/news/nntpbtr/Makefile @@ -5,21 +5,21 @@ PORTNAME= nntpbtr PORTVERSION= 1.7 CATEGORIES= news MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/news/ -EXTRACT_SUFX= .tar.Z MAINTAINER= dk@farm.org COMMENT= NNTP bulk transfer -MAN1= nntpbtr.1 -PLIST_FILES= sbin/nntpbtr +USES= tar:Z +PLIST_FILES= sbin/${PORTNAME} man/man1/${PORTNAME}.1.gz -# "patch" complains otherwise -NO_STAGE= yes -post-extract: - @${RM} -rf ${WRKSRC}/RCS +ALL_TARGET= ${PORTNAME} pre-build: - cd ${FILESDIR} ; ${PAX} -rw -l -u dbz ${WRKDIR} || ${TRUE} - cd ${WRKDIR}/dbz ; ${CC} ${CFLAGS} -c -I. dbz.c + (cd ${FILESDIR} ; ${PAX} -rw -l -u dbz ${WRKDIR}) || ${TRUE} + (cd ${WRKDIR}/dbz ; ${CC} ${CFLAGS} -c -I. dbz.c) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> |