1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-21 08:38:36 +00:00
parent 6ca3fbc2af
commit e5a51b309e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345326
2 changed files with 8 additions and 10 deletions

View File

@ -10,21 +10,18 @@ MASTER_SITES= SF/annoyancefilter/annoyancefilter/${PORTVERSION} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Adaptive Bayesian Junk Mail Filter
GNU_CONFIGURE= yes
USE_GCC= yes
GNU_CONFIGURE= yes
MAN1= annoyance-filter.1
DOCS= COPYING INSTALL README *.pdf
CFLAGS= ${CPPFLAGS}
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-run ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-run ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
bin/annoyance-filter
bin/annoyance-filter-run
man/man1/annoyance-filter.1.gz
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README