aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-08-30 12:49:12 +0800
committerpetef <petef@FreeBSD.org>2001-08-30 12:49:12 +0800
commit4f4b05a2cc9b5aec89123b25a1baebb8ffb43e1e (patch)
tree07c04acc1c2eab95344c5af5dd0d0fd8decb82cf /cad
parented949dc01f72bd88915e78af427524f8814c281f (diff)
downloadfreebsd-ports-gnome-4f4b05a2cc9b5aec89123b25a1baebb8ffb43e1e.tar.gz
freebsd-ports-gnome-4f4b05a2cc9b5aec89123b25a1baebb8ffb43e1e.tar.zst
freebsd-ports-gnome-4f4b05a2cc9b5aec89123b25a1baebb8ffb43e1e.zip
- add NOPORTDOCS support to pkg-plist
- use ${INSTALL_DATA} for docs, not ${INSTALL_MAN} - maintainer should be grog@FreeBSD.org, not just 'grog' PR: 28755 Submitted by: Patrick Li <pat@databits.net> Approved by: maintainer
Diffstat (limited to 'cad')
-rw-r--r--cad/sceptre/Makefile6
-rw-r--r--cad/sceptre/pkg-plist6
2 files changed, 6 insertions, 6 deletions
diff --git a/cad/sceptre/Makefile b/cad/sceptre/Makefile
index ebda0cced9ad..8b7c34a2d15b 100644
--- a/cad/sceptre/Makefile
+++ b/cad/sceptre/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= 00.317
CATEGORIES= cad
MASTER_SITES= ftp://novilux.fh-friedberg.de/pub/sceptre/
-MAINTAINER= grog
+MAINTAINER= grog@FreeBSD.org
BUILD_DEPENDS= f77:${PORTSDIR}/lang/f77
@@ -19,8 +19,8 @@ NO_WRKSUBDIR= YES
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/sceptre
- ${INSTALL_MAN} ${WRKSRC}/doc/doc_en.pdf ${PREFIX}/share/doc/sceptre/doc_en.pdf
- ${INSTALL_MAN} ${WRKSRC}/doc/doc_ger.pdf ${PREFIX}/share/doc/sceptre/doc_ger.pdf
+ ${INSTALL_DATA} ${WRKSRC}/doc/doc_en.pdf ${PREFIX}/share/doc/sceptre/doc_en.pdf
+ ${INSTALL_DATA} ${WRKSRC}/doc/doc_ger.pdf ${PREFIX}/share/doc/sceptre/doc_ger.pdf
.endif
.include <bsd.port.mk>
diff --git a/cad/sceptre/pkg-plist b/cad/sceptre/pkg-plist
index c593c6e957ef..eb55af15093a 100644
--- a/cad/sceptre/pkg-plist
+++ b/cad/sceptre/pkg-plist
@@ -10,6 +10,6 @@ lib/libx2.a
lib/libx3.a
lib/usrlib.a
lib/modellib.dat
-share/doc/sceptre/doc_en.pdf
-share/doc/sceptre/doc_ger.pdf
-@dirrm share/doc/sceptre
+%%PORTDOCS%%share/doc/sceptre/doc_en.pdf
+%%PORTDOCS%%share/doc/sceptre/doc_ger.pdf
+%%PORTDOCS%%@dirrm share/doc/sceptre