aboutsummaryrefslogtreecommitdiff
path: root/lang/cint
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-06-18 05:57:16 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-06-18 05:57:16 +0000
commitb6f7531c01a052114f6d461670715f2e4aaefb3d (patch)
tree978100c18968003066bafb028d859edcb2f69b0c /lang/cint
parent7686bc2e30571303509f7e5c3f0901be41b08fc4 (diff)
downloadports-b6f7531c01a052114f6d461670715f2e4aaefb3d.tar.gz
ports-b6f7531c01a052114f6d461670715f2e4aaefb3d.zip
Notes
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