aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-06-03 09:19:22 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-06-03 09:19:22 +0800
commitf7dc6ef1aa6e4a76ec777a2ba0e0f8faed3196c9 (patch)
tree5c8f8e0dabaef53e51845ddaea527a5bf0a2030e /science
parent6384dd28010ec2c5cd13aac0b30de4cb04ec8e22 (diff)
downloadfreebsd-ports-gnome-f7dc6ef1aa6e4a76ec777a2ba0e0f8faed3196c9.tar.gz
freebsd-ports-gnome-f7dc6ef1aa6e4a76ec777a2ba0e0f8faed3196c9.tar.zst
freebsd-ports-gnome-f7dc6ef1aa6e4a76ec777a2ba0e0f8faed3196c9.zip
- Support staging
- Use new LIB_DEPENDS syntax Approved by: portmgr blanket
Diffstat (limited to 'science')
-rw-r--r--science/chemtool-devel/Makefile13
-rw-r--r--science/chemtool-devel/pkg-plist2
2 files changed, 7 insertions, 8 deletions
diff --git a/science/chemtool-devel/Makefile b/science/chemtool-devel/Makefile
index 46c78addb3a0..300dfc58c1f5 100644
--- a/science/chemtool-devel/Makefile
+++ b/science/chemtool-devel/Makefile
@@ -13,7 +13,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= maho@FreeBSD.org
COMMENT= Drawing organic molecules easily and store them (developer version)
-LIB_DEPENDS= EMF.1:${PORTSDIR}/graphics/libemf
+LIB_DEPENDS= libEMF.so:${PORTSDIR}/graphics/libemf
RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
WRKSRC= ${WRKDIR}/${PORTNAME}-1.7alpha15/
@@ -23,24 +23,21 @@ GNU_CONFIGURE= yes
USES= gettext gmake pkgconfig
CONFIGURE_ARGS= --enable-emf=yes
PKGNAMESUFFIX= -devel
-MAN1= chemtool.1 cht.1
MAKE_ARGS+= MAKE=${GMAKE}
MAKE_JOBS_UNSAFE= yes
#to include emf
CFLAGS+= -I${LOCALBASE}/include/libEMF
CXXFLAGS+= -I${LOCALBASE}/include/libEMF
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/configure.in
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' ${WRKSRC}/configure
-do-install:
- @(cd ${WRKSRC}; ${GMAKE} install)
+post-install:
@(cd ${WRKSRC}; \
- ${MKDIR} ${PREFIX}/share/examples/chemtool/; \
- cd ${WRKSRC}/examples/; \
- ${INSTALL_DATA} * ${PREFIX}/share/examples/chemtool; \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/chemtool/; \
+ cd ${WRKSRC}/examples/; \
+ ${INSTALL_DATA} * ${STAGEDIR}${PREFIX}/share/examples/chemtool; \
)
.include <bsd.port.mk>
diff --git a/science/chemtool-devel/pkg-plist b/science/chemtool-devel/pkg-plist
index 25c82ffa82a2..a05b7929fad5 100644
--- a/science/chemtool-devel/pkg-plist
+++ b/science/chemtool-devel/pkg-plist
@@ -1,5 +1,7 @@
bin/chemtool
bin/cht
+man/man1/chemtool.1.gz
+man/man1/cht.1.gz
%%EXAMPLESDIR%%/14263232.mol
%%EXAMPLESDIR%%/AMP.cht
%%EXAMPLESDIR%%/Adenosine.cht