Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-05 00:41:32 +00:00
parent f0f645186b
commit 968f46a7b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338719
2 changed files with 4 additions and 12 deletions

View File

@ -10,9 +10,6 @@ MASTER_SITES= SF \
MAINTAINER= shalunov@shlang.com
COMMENT= Network capacity tester
MAN1= thrulay.1
MAN8= thrulayd.8
MANCOMPRESSED= no
HAS_CONFIGURE= yes
USES= gmake
USE_LDCONFIG= yes
@ -22,10 +19,6 @@ MAKE_JOBS_UNSAFE= yes
PORTDOCS= ChangeLog README thrulay-protocol.txt thrulay-index.html
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e '922s,datarootdir,prefix,g' ${WRKSRC}/configure
@ -33,12 +26,9 @@ post-extract:
@${CP} ${WRKSRC}/doc/*.[ht]* ${WRKSRC}/
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -6,4 +6,6 @@ lib/libthrulay.a
lib/libthrulay.la
lib/libthrulay.so
lib/libthrulay.so.0
man/man1/thrulay.1.gz
man/man8/thrulayd.8.gz
@dirrm include/thrulay