diff options
Diffstat (limited to 'biology/xdrawchem')
-rw-r--r-- | biology/xdrawchem/Makefile | 21 | ||||
-rw-r--r-- | biology/xdrawchem/distinfo | 4 | ||||
-rw-r--r-- | biology/xdrawchem/pkg-plist | 7 |
3 files changed, 16 insertions, 16 deletions
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile index d89249dbf782..d04e071ba9c1 100644 --- a/biology/xdrawchem/Makefile +++ b/biology/xdrawchem/Makefile @@ -6,10 +6,10 @@ # PORTNAME= xdrawchem -PORTVERSION= 1.7.3 -PORTREVISION= 1 +PORTVERSION= 1.7.8 CATEGORIES= biology -MASTER_SITES= http://www.prism.gatech.edu/~gte067k/xdrawchem/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= xdrawchem EXTRACT_SUFX= .tgz MAINTAINER= trevor@FreeBSD.org @@ -18,6 +18,7 @@ COMMENT= Chemical drawing program CFLAGS+= -O0 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} GNU_CONFIGURE= yes +PKGMESSAGE= ${WRKDIR}/pkg-message QTCFGLIBS+= ${PTHREAD_LIBS} QTCPPFLAGS+= ${PTHREAD_CFLAGS} USE_GMAKE= yes @@ -25,12 +26,18 @@ USE_QT_VER= 3 USE_REINPLACE= yes USE_X_PREFIX= yes +pre-configure: + ${MKDIR} ${WRKDIR} + ${ECHO_CMD} \ + "Warning: source code for this version has not been reviewed!" \ + > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} + @${ECHO_CMD} Waiting ten seconds--press control-C to cancel build. + @sleep 10 + post-patch: @${REINPLACE_CMD} -e \ - 's|^CPPFLAGS = -I/usr/X11R6/include|CPPFLAGS = @CPPFLAGS@|g ; \ - s|^CXXFLAGS = -g|CXXFLAGS = @CXXFLAGS@|g' \ - ${WRKSRC}/xdrawchem/Makefile.in - @${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' ${WRKSRC}/xdrawchem/application_ob.cpp @${REINPLACE_CMD} -e \ 's|lround|(long int)rint|g' ${WRKSRC}/xdrawchem/*.cpp diff --git a/biology/xdrawchem/distinfo b/biology/xdrawchem/distinfo index a84c4fc73ad5..97160fd134aa 100644 --- a/biology/xdrawchem/distinfo +++ b/biology/xdrawchem/distinfo @@ -1,2 +1,2 @@ -MD5 (xdrawchem-1.7.3.tgz) = 44e2df8ef455b520e31eafcb9a038984 -SIZE (xdrawchem-1.7.3.tgz) = 1242152 +MD5 (xdrawchem-1.7.8.tgz) = cc3cd5a252924ec187197d4f2ebf7197 +SIZE (xdrawchem-1.7.8.tgz) = 970908 diff --git a/biology/xdrawchem/pkg-plist b/biology/xdrawchem/pkg-plist index 176e875353df..4fd917c0e7d5 100644 --- a/biology/xdrawchem/pkg-plist +++ b/biology/xdrawchem/pkg-plist @@ -5,10 +5,8 @@ share/xdrawchem/adenine.cml share/xdrawchem/alanine.cml share/xdrawchem/anthracene.cml share/xdrawchem/arginine.cml -share/xdrawchem/aromatic.txt share/xdrawchem/asparagine.cml share/xdrawchem/aspartic_acid.cml -share/xdrawchem/atomtyp.txt share/xdrawchem/back.xpm share/xdrawchem/benzene.cml share/xdrawchem/benzene.png @@ -79,8 +77,6 @@ share/xdrawchem/doc/toolmenu.html share/xdrawchem/doc/underlinetool.png share/xdrawchem/doc/uptool.png share/xdrawchem/edans.cml -share/xdrawchem/element.txt -share/xdrawchem/extable.txt share/xdrawchem/fmoc.cml share/xdrawchem/forward.xpm share/xdrawchem/glutamic_acid.cml @@ -99,11 +95,9 @@ share/xdrawchem/methionine.cml share/xdrawchem/naphthalene.cml share/xdrawchem/nitrophenylalanine.cml share/xdrawchem/phenylalanine.cml -share/xdrawchem/phmodel.txt share/xdrawchem/proline.cml share/xdrawchem/purine.cml share/xdrawchem/pyrimidine.cml -share/xdrawchem/resdata.txt share/xdrawchem/ribose.cml share/xdrawchem/serine.cml share/xdrawchem/statine.cml @@ -111,7 +105,6 @@ share/xdrawchem/steroid.cml share/xdrawchem/threonine.cml share/xdrawchem/thymine.cml share/xdrawchem/tryptophan.cml -share/xdrawchem/types.txt share/xdrawchem/tyrosine.cml share/xdrawchem/uracil.cml share/xdrawchem/valine.cml |