summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-21 01:53:46 +0000
committermiwi <miwi@FreeBSD.org>2014-02-21 01:53:46 +0000
commit4885bf731864a9d4c0356ffc3328147eb335d001 (patch)
tree3ee3584d0f96169bfeaa173ca99a2d563ca17447
parentf277a8690043ff3363c8dfb1d0ce852b14362a1a (diff)
downloadFreeBSD-ports-4885bf731864a9d4c0356ffc3328147eb335d001.zip
FreeBSD-ports-4885bf731864a9d4c0356ffc3328147eb335d001.tar.gz
- Stage support
-rw-r--r--textproc/sary/Makefile9
-rw-r--r--textproc/sary/pkg-plist2
2 files changed, 4 insertions, 7 deletions
diff --git a/textproc/sary/Makefile b/textproc/sary/Makefile
index b3530fe..b54e385 100644
--- a/textproc/sary/Makefile
+++ b/textproc/sary/Makefile
@@ -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>
diff --git a/textproc/sary/pkg-plist b/textproc/sary/pkg-plist
index a2fe9a8..43220de 100644
--- a/textproc/sary/pkg-plist
+++ b/textproc/sary/pkg-plist
@@ -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
OpenPOWER on IntegriCloud