diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-06-03 09:18:59 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-06-03 09:18:59 +0800 |
commit | 6384dd28010ec2c5cd13aac0b30de4cb04ec8e22 (patch) | |
tree | 6128956b9e85e4672ceb4a31a1f984cc7a625ec5 /science/chemtool | |
parent | 24282757a0e2c33c5a69bb76379c3f77aed580fb (diff) | |
download | freebsd-ports-gnome-6384dd28010ec2c5cd13aac0b30de4cb04ec8e22.tar.gz freebsd-ports-gnome-6384dd28010ec2c5cd13aac0b30de4cb04ec8e22.tar.zst freebsd-ports-gnome-6384dd28010ec2c5cd13aac0b30de4cb04ec8e22.zip |
- Support staging
- Use new LIB_DEPENDS syntax
Approved by: portmgr blanket
Diffstat (limited to 'science/chemtool')
-rw-r--r-- | science/chemtool/Makefile | 19 | ||||
-rw-r--r-- | science/chemtool/pkg-plist | 2 |
2 files changed, 10 insertions, 11 deletions
diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile index 29d03bc1bd32..cb605962f878 100644 --- a/science/chemtool/Makefile +++ b/science/chemtool/Makefile @@ -19,24 +19,21 @@ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX} -NO_STAGE= yes .include <bsd.port.pre.mk> #isolate libEMF stuff -LIB_DEPENDS+= EMF.1:${PORTSDIR}/graphics/libemf -CFLAGS+= -I${LOCALBASE}/include/libEMF - -MAN1= chemtool.1 cht.1 +LIB_DEPENDS+= libEMF.so:${PORTSDIR}/graphics/libemf +CFLAGS+= -I${LOCALBASE}/include/libEMF do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/chemtool ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/src-cht/cht ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/chemtool.1 ${MANPREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/cht.1 ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/chemtool ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src-cht/cht ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/chemtool.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/cht.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${FIND} . | \ - ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} + ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} .endif .include <bsd.port.post.mk> diff --git a/science/chemtool/pkg-plist b/science/chemtool/pkg-plist index c24bedec0ae6..2e23bd1e8b8b 100644 --- a/science/chemtool/pkg-plist +++ b/science/chemtool/pkg-plist @@ -1,5 +1,7 @@ bin/chemtool bin/cht +man/man1/chemtool.1.gz +man/man1/cht.1.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/14263232.mol %%PORTEXAMPLES%%%%EXAMPLESDIR%%/AMP.cht %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Adenosine.cht |