From 4f4b05a2cc9b5aec89123b25a1baebb8ffb43e1e Mon Sep 17 00:00:00 2001 From: petef Date: Thu, 30 Aug 2001 04:49:12 +0000 Subject: - 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 Approved by: maintainer --- cad/sceptre/Makefile | 6 +++--- cad/sceptre/pkg-plist | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cad') diff --git a/cad/sceptre/Makefile b/cad/sceptre/Makefile index ebda0cc..8b7c34a 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 diff --git a/cad/sceptre/pkg-plist b/cad/sceptre/pkg-plist index c593c6e..eb55af1 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 -- cgit v1.1