diff options
-rw-r--r-- | science/chemtool-devel/Makefile | 13 | ||||
-rw-r--r-- | science/chemtool-devel/pkg-plist | 2 |
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 |