diff options
author | jeh <jeh@FreeBSD.org> | 2000-10-10 18:28:22 +0000 |
---|---|---|
committer | jeh <jeh@FreeBSD.org> | 2000-10-10 18:28:22 +0000 |
commit | 58b19a03c04b88840fc9ffa325ae7a801924f39e (patch) | |
tree | 417b1f4a24ca445c76e8189f0bd7b4148ae6b10b /biology | |
parent | 223aeec39479d255709af0cca8f3824eed4009b9 (diff) | |
download | FreeBSD-ports-58b19a03c04b88840fc9ffa325ae7a801924f39e.zip FreeBSD-ports-58b19a03c04b88840fc9ffa325ae7a801924f39e.tar.gz |
PR 21608 was not processed as intented.
Bumped PORTREVISION and removed duplicate from pkg-plist.
PR: 21894
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'biology')
-rw-r--r-- | biology/ortep3/Makefile | 40 | ||||
-rw-r--r-- | biology/ortep3/pkg-plist | 3 |
2 files changed, 22 insertions, 21 deletions
diff --git a/biology/ortep3/Makefile b/biology/ortep3/Makefile index bab2d2c..971f22c 100644 --- a/biology/ortep3/Makefile +++ b/biology/ortep3/Makefile @@ -7,7 +7,7 @@ PORTNAME= ortep3 PORTVERSION= 1.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= biology MASTER_SITES= ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/ \ ftp://ftp.ornl.gov/pub/ortep/src/ @@ -22,31 +22,33 @@ LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot WRKSRC= ${WRKDIR}/ortep/src +MAKE_ARGS= FFLAGS="${FFLAGS}" LFLAGS="${LFLAGS}" + +.if defined(WITH_PGPLOT) +EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa +LFLAGS= -L${LOCALBASE}/lib -lpgplot -L${X11BASE}/lib -lX11 +.endif + post-extract: ${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0 ${CP} ${DISTDIR}/ortep.f ${WRKSRC}/ortep.f -pre-patch: +pre-build: ${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile -.if defined(USEPGPLOT) - cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-aa -.endif - -pre-install: - ${MKDIR} ${PREFIX}/share/doc/ortep3 - ${MKDIR} ${PREFIX}/share/doc/ortep3/examples - ${MKDIR} ${PREFIX}/share/doc/ortep3/man - ${MKDIR} ${PREFIX}/share/doc/ortep3/src do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin - ${INSTALL_DATA} ${WRKDIR}/ortep/examples/* \ - ${PREFIX}/share/doc/ortep3/examples - ${INSTALL_DATA} ${WRKDIR}/ortep/man/* \ - ${PREFIX}/share/doc/ortep3/man - ${INSTALL_DATA} ${WRKDIR}/ortep/src/000readme.txt \ - ${PREFIX}/share/doc/ortep3/src - ${INSTALL_DATA} ${WRKDIR}/ortep/README.1st \ - ${PREFIX}/share/doc/ortep3 + @${MKDIR} ${PREFIX}/share/doc/ortep3 + ${INSTALL_DATA} ${WRKSRC}/../README.1st \ + ${PREFIX}/share/doc/ortep3 + @${MKDIR} ${PREFIX}/share/doc/ortep3/examples + ${INSTALL_DATA} ${WRKSRC}/../examples/* \ + ${PREFIX}/share/doc/ortep3/examples + @${MKDIR} ${PREFIX}/share/doc/ortep3/man + ${INSTALL_DATA} ${WRKSRC}/../man/* \ + ${PREFIX}/share/doc/ortep3/man + @${MKDIR} ${PREFIX}/share/doc/ortep3/src + ${INSTALL_DATA} ${WRKSRC}/000readme.txt \ + ${PREFIX}/share/doc/ortep3/src .include <bsd.port.mk> diff --git a/biology/ortep3/pkg-plist b/biology/ortep3/pkg-plist index 6544d0f..d70dfb4 100644 --- a/biology/ortep3/pkg-plist +++ b/biology/ortep3/pkg-plist @@ -65,10 +65,9 @@ share/doc/ortep3/examples/thornitrate.ps share/doc/ortep3/examples/xenate.dat share/doc/ortep3/examples/xenate.hp share/doc/ortep3/examples/xenate.ps -@dirrm share/doc/ortep3/examples share/doc/ortep3/man/000readme.txt share/doc/ortep3/man/instrsum.ps +@dirrm share/doc/ortep3/examples @dirrm share/doc/ortep3/man -share/doc/ortep3/src/000readme.txt @dirrm share/doc/ortep3/src @dirrm share/doc/ortep3 |