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

- Stage support

This commit is contained in:
Martin Wilke 2014-02-21 01:53:46 +00:00
parent 125ea79ecb
commit 90d641b35d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345288
2 changed files with 4 additions and 7 deletions

View File

@ -15,17 +15,12 @@ USE_GNOME= glib20
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAN1= sary.1 mksary.1
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -22,6 +22,8 @@ lib/libsary.la
lib/libsary.so
lib/libsary.so.10
libdata/pkgconfig/sary.pc
man/man1/mksary.1.gz
man/man1/sary.1.gz
%%PORTDOCS%%%%DOCSDIR%%/en/libsary.html
%%PORTDOCS%%%%DOCSDIR%%/en/suffix-array.html
%%PORTDOCS%%%%DOCSDIR%%/images/figure1.png