diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 19:01:47 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 19:01:47 +0000 |
commit | 0ed60a672e536928fa1ad7954eaf7533768f96b7 (patch) | |
tree | 8b20497c1c9d9f524cffd68eaeb4270652fdeaab /biology/babel | |
parent | c23d4e5464eb2ee7d48e164e817470cf3e80ae46 (diff) | |
download | ports-0ed60a672e536928fa1ad7954eaf7533768f96b7.tar.gz ports-0ed60a672e536928fa1ad7954eaf7533768f96b7.zip |
Notes
Diffstat (limited to 'biology/babel')
-rw-r--r-- | biology/babel/Makefile | 14 | ||||
-rw-r--r-- | biology/babel/pkg-plist | 10 |
2 files changed, 11 insertions, 13 deletions
diff --git a/biology/babel/Makefile b/biology/babel/Makefile index 302ec54e11f4..3e17f2f53f92 100644 --- a/biology/babel/Makefile +++ b/biology/babel/Makefile @@ -16,16 +16,24 @@ CONFLICTS_INSTALL= openbabel-* MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +PLIST_FILES+= bin/babel libexec/babel +PORTDATA= element.lis new.lis quanta.lis types.lis +PORTDOCS= README.1ST + +OPTIONS_DEFINE= DOCS + post-build: ${SED} -e 's%@PREFIX@%${PREFIX}%g' \ ${FILESDIR}/babel.sh >${WRKSRC}/babel.sh +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/babel ${PREFIX}/libexec ${INSTALL_SCRIPT} ${WRKSRC}/babel.sh ${PREFIX}/bin/babel - @${MKDIR} ${PREFIX}/share/babel - ${INSTALL_DATA} ${WRKSRC}/*.lis ${PREFIX}/share/babel -.if !defined(NOPORTDOCS) + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.lis ${DATADIR} +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.1ST ${DOCSDIR} .endif diff --git a/biology/babel/pkg-plist b/biology/babel/pkg-plist deleted file mode 100644 index db3c75dc289d..000000000000 --- a/biology/babel/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -@comment $FreeBSD$ -bin/babel -libexec/babel -share/babel/element.lis -share/babel/new.lis -share/babel/quanta.lis -share/babel/types.lis -%%PORTDOCS%%%%DOCSDIR%%/README.1ST -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm share/babel |