aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-21 01:53:46 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-21 01:53:46 +0000
commit90d641b35d5605c957d33fd37fcd9c05c9333042 (patch)
tree3ee3584d0f96169bfeaa173ca99a2d563ca17447
parent125ea79ecb3aef31f4e31a31837f24800c106f24 (diff)
downloadports-90d641b35d5605c957d33fd37fcd9c05c9333042.tar.gz
ports-90d641b35d5605c957d33fd37fcd9c05c9333042.zip
Notes
-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