aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-08-24 18:14:01 +0800
committerrafan <rafan@FreeBSD.org>2008-08-24 18:14:01 +0800
commitfedb9d2b9098b9a0bca023585719b3047e721a02 (patch)
treed1d655dfdba9dcc6415abf282437192047e7c52b /graphics
parent8772b4ad02a09c8b1afd24a791d3827d1f519417 (diff)
downloadfreebsd-ports-gnome-fedb9d2b9098b9a0bca023585719b3047e721a02.tar.gz
freebsd-ports-gnome-fedb9d2b9098b9a0bca023585719b3047e721a02.tar.zst
freebsd-ports-gnome-fedb9d2b9098b9a0bca023585719b3047e721a02.zip
- Fix build when NOPORTDOCS is defined by correctly set PORTDOCS [1]
- Always install manual pages since they are not governed by NOPORTDOCS - Remove pkg-plist since it's small, use PLIST_FILES instead Found by: QAT [1]
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xmagv/Makefile11
-rw-r--r--graphics/xmagv/pkg-plist3
2 files changed, 8 insertions, 6 deletions
diff --git a/graphics/xmagv/Makefile b/graphics/xmagv/Makefile
index 815af9a2b4b5..829c93189090 100644
--- a/graphics/xmagv/Makefile
+++ b/graphics/xmagv/Makefile
@@ -22,13 +22,18 @@ XMKMF= xmkmf
MANLANG= . ja
MAN1= xmagv.1
+DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
+
+PLIST_FILES= bin/xmagv
+PORTDOCS= xmagv.doc
+
post-install:
-.if !defined(NOPORTDOCS)
${INSTALL_MAN} ${WRKSRC}/xmagv.j ${PREFIX}/man/ja/man1
${MV} ${PREFIX}/man/ja/man1/xmagv.j ${PREFIX}/man/ja/man1/xmagv.1
${GZIP_CMD} ${PREFIX}/man/ja/man1/xmagv.1
- ${MKDIR} ${PREFIX}/share/doc/ja/xmagv
- ${INSTALL_MAN} ${WRKSRC}/xmagv.doc ${PREFIX}/share/doc/ja/xmagv
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/xmagv.doc ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/xmagv/pkg-plist b/graphics/xmagv/pkg-plist
deleted file mode 100644
index 714f00d79df9..000000000000
--- a/graphics/xmagv/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/xmagv
-share/doc/ja/xmagv/xmagv.doc
-@dirrm share/doc/ja/xmagv