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

Stage support.

PR:		191066
Submitted by:	maintainer <bob@eager.cx>
This commit is contained in:
Rene Ladan 2014-07-21 14:33:51 +00:00
parent 03499ade54
commit fd2ffac373
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362438
2 changed files with 7 additions and 10 deletions

View File

@ -17,26 +17,21 @@ USES= zip
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_LDCONFIG= yes
MAN1= regutil.1
MLINKS= regutil.1 rexxutil.1
MAKEFILE= Makefile.bsd
SUB_FILES= regutil.1 pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/librexxutil.so ${PREFIX}/lib
${INSTALL_MAN} ${WRKDIR}/regutil.1 ${PREFIX}/man/man1
${INSTALL_LIB} ${WRKSRC}/librexxutil.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_MAN} ${WRKDIR}/regutil.1 ${STAGEDIR}${PREFIX}/man/man1/regutil.1.gz
${INSTALL_MAN} ${WRKDIR}/regutil.1 ${STAGEDIR}${PREFIX}/man/man1/rexxutil.1.gz
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/regutil.pdf ${DOCSDIR}
@${CAT} ${PKGMESSAGE}
.endif
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/regutil.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>

View File

@ -1,3 +1,5 @@
lib/librexxutil.so
man/man1/regutil.1.gz
man/man1/rexxutil.1.gz
%%PORTDOCS%%%%DOCSDIR%%/regutil.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%