aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sary
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-21 09:53:46 +0800
committermiwi <miwi@FreeBSD.org>2014-02-21 09:53:46 +0800
commit4885bf731864a9d4c0356ffc3328147eb335d001 (patch)
tree3ee3584d0f96169bfeaa173ca99a2d563ca17447 /textproc/sary
parentf277a8690043ff3363c8dfb1d0ce852b14362a1a (diff)
downloadfreebsd-ports-gnome-4885bf731864a9d4c0356ffc3328147eb335d001.tar.gz
freebsd-ports-gnome-4885bf731864a9d4c0356ffc3328147eb335d001.tar.zst
freebsd-ports-gnome-4885bf731864a9d4c0356ffc3328147eb335d001.zip
- Stage support
Diffstat (limited to 'textproc/sary')
-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 b3530fee2949..b54e38593818 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 a2fe9a818fe3..43220de11fae 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