diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-06-18 05:57:16 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-06-18 05:57:16 +0000 |
commit | b6f7531c01a052114f6d461670715f2e4aaefb3d (patch) | |
tree | 978100c18968003066bafb028d859edcb2f69b0c /lang/cint | |
parent | Add CPAN/Encode to the list of directories we exclude since the version of (diff) |
- While (I was) at it, respect NOPORTDOCS
Notes
Notes:
svn path=/head/; revision=215043
Diffstat (limited to 'lang/cint')
-rw-r--r-- | lang/cint/Makefile | 15 | ||||
-rw-r--r-- | lang/cint/pkg-plist | 22 |
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 |