aboutsummaryrefslogtreecommitdiffstats
path: root/news/slnr
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-27 15:29:19 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-27 15:29:19 +0800
commit89c3cacd0f897c5e75ca4b6a248931f3d5f23194 (patch)
tree342b9d927595438f897d93febd48ea66c86b1512 /news/slnr
parent23d80f6cfb65863a872bc6031073e6f53be06bad (diff)
downloadfreebsd-ports-gnome-89c3cacd0f897c5e75ca4b6a248931f3d5f23194.tar.gz
freebsd-ports-gnome-89c3cacd0f897c5e75ca4b6a248931f3d5f23194.tar.zst
freebsd-ports-gnome-89c3cacd0f897c5e75ca4b6a248931f3d5f23194.zip
Support staging
Diffstat (limited to 'news/slnr')
-rw-r--r--news/slnr/Makefile14
-rw-r--r--news/slnr/pkg-plist13
2 files changed, 11 insertions, 16 deletions
diff --git a/news/slnr/Makefile b/news/slnr/Makefile
index 225bbf140e49..3588dc30b306 100644
--- a/news/slnr/Makefile
+++ b/news/slnr/Makefile
@@ -11,22 +11,16 @@ COMMENT= Simplistic reader for SOUP (HDPF) mail and news packets
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip
-MAN1= slnr.1
-
MAKEFILE= src/Makefile
DOCFILES= ${FILESDIR}/porting.notes other/soup12.doc other/slnr.doc \
LICENSE other/default.dot.slnrrc
-NO_STAGE= yes
do-install:
-.if !defined{NOPORTDOCS}
- @${ECHO_MSG} "===> Copying documents to ${PREFIX}/share/doc/slnr"
- @${MKDIR} ${PREFIX}/share/doc/slnr
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/slnr
@cd ${WRKSRC}; \
- ${INSTALL_DATA} ${DOCFILES} ${PREFIX}/share/doc/slnr
-.endif
- ${INSTALL_MAN} ${WRKSRC}/other/slnr.1 ${PREFIX}/man/man1/slnr.1
- ${INSTALL_PROGRAM} ${WRKSRC}/slnr ${PREFIX}/bin
+ ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/other/slnr.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/slnr ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/news/slnr/pkg-plist b/news/slnr/pkg-plist
index d1d529a4981b..96c05c95b200 100644
--- a/news/slnr/pkg-plist
+++ b/news/slnr/pkg-plist
@@ -1,7 +1,8 @@
bin/slnr
-share/doc/slnr/LICENSE
-share/doc/slnr/porting.notes
-share/doc/slnr/soup12.doc
-share/doc/slnr/slnr.doc
-share/doc/slnr/default.dot.slnrrc
-@dirrm share/doc/slnr
+man/man1/slnr.1.gz
+%%DOCSDIR%%/LICENSE
+%%DOCSDIR%%/default.dot.slnrrc
+%%DOCSDIR%%/porting.notes
+%%DOCSDIR%%/slnr.doc
+%%DOCSDIR%%/soup12.doc
+@dirrm %%DOCSDIR%%