aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cint
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-06-18 13:57:16 +0800
committergahr <gahr@FreeBSD.org>2008-06-18 13:57:16 +0800
commit4130df3fe3c73f2f7d01e83ceea19a235577ef91 (patch)
treea4953d6a943b971913cae67bc3f72f0a965f0b1e /lang/cint
parent9fa72abebbae5939216c3c6b3d7f4c0947dd92fd (diff)
downloadfreebsd-ports-gnome-4130df3fe3c73f2f7d01e83ceea19a235577ef91.tar.gz
freebsd-ports-gnome-4130df3fe3c73f2f7d01e83ceea19a235577ef91.tar.zst
freebsd-ports-gnome-4130df3fe3c73f2f7d01e83ceea19a235577ef91.zip
- While (I was) at it, respect NOPORTDOCS
Diffstat (limited to 'lang/cint')
-rw-r--r--lang/cint/Makefile15
-rw-r--r--lang/cint/pkg-plist22
2 files changed, 21 insertions, 16 deletions
diff --git a/lang/cint/Makefile b/lang/cint/Makefile
index 7c81185970b4..130e5ad9fabd 100644
--- a/lang/cint/Makefile
+++ b/lang/cint/Makefile
@@ -8,6 +8,7 @@
PORTNAME= cint
PORTVERSION= 5.16.19
DISTVERSIONSUFFIX= -source
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://root.cern.ch/root/
@@ -23,14 +24,18 @@ USE_LDCONFIG= ${PREFIX}/lib/cint
ALL_TARGET=
MAN1= cint.1 makecint.1
+INSTALL_ARGS= --bindir=${PREFIX}/bin \
+ --libdir=${PREFIX}/lib/cint \
+ --mandir=${PREFIX}/man
+
+.if !defined(NOPORTDOCS)
+INSTALL_ARGS+= --docdir=${DOCSDIR}
+.endif
+
do-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/bash configure __have_the_proper_shell@
do-install:
- cd ${WRKSRC} && ${SH} tool/INSTALLBIN\
- --bindir=${PREFIX}/bin\
- --libdir=${PREFIX}/lib/cint\
- --docdir=${DOCSDIR} \
- --mandir=${MANPREFIX}/man
+ cd ${WRKSRC} && ${LOCALBASE}/bin/bash tool/INSTALLBIN ${INSTALL_ARGS}
.include <bsd.port.mk>
diff --git a/lang/cint/pkg-plist b/lang/cint/pkg-plist
index 031b4591b79c..73628d084069 100644
--- a/lang/cint/pkg-plist
+++ b/lang/cint/pkg-plist
@@ -287,17 +287,17 @@ lib/cint/stl/utility.h
lib/cint/stl/valarray
lib/cint/stl/vector
lib/cint/stl/vector.h
-%%DOCSDIR%%/bytecode.txt
-%%DOCSDIR%%/cint.txt
-%%DOCSDIR%%/cintapi.txt
-%%DOCSDIR%%/extlib.txt
-%%DOCSDIR%%/ifdef.txt
-%%DOCSDIR%%/limitati.txt
-%%DOCSDIR%%/limitnum.txt
-%%DOCSDIR%%/makecint.txt
-%%DOCSDIR%%/message.txt
-%%DOCSDIR%%/ref.txt
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/bytecode.txt
+%%PORTDOCS%%%%DOCSDIR%%/cint.txt
+%%PORTDOCS%%%%DOCSDIR%%/cintapi.txt
+%%PORTDOCS%%%%DOCSDIR%%/extlib.txt
+%%PORTDOCS%%%%DOCSDIR%%/ifdef.txt
+%%PORTDOCS%%%%DOCSDIR%%/limitati.txt
+%%PORTDOCS%%%%DOCSDIR%%/limitnum.txt
+%%PORTDOCS%%%%DOCSDIR%%/makecint.txt
+%%PORTDOCS%%%%DOCSDIR%%/message.txt
+%%PORTDOCS%%%%DOCSDIR%%/ref.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/cint/stl
@dirrm lib/cint/main
@dirrm lib/cint/lib/prec_stl