aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-06-03 01:19:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-06-03 01:19:22 +0000
commit6a470c4f98ae806db4a444f78fed67582488134a (patch)
tree5c8f8e0dabaef53e51845ddaea527a5bf0a2030e /science
parent69d5d8cd7662809bc679f076d144ce1137be49d8 (diff)
downloadports-6a470c4f98ae806db4a444f78fed67582488134a.tar.gz
ports-6a470c4f98ae806db4a444f78fed67582488134a.zip
Notes
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