diff options
author | wxs <wxs@FreeBSD.org> | 2008-11-11 10:21:28 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2008-11-11 10:21:28 +0800 |
commit | dfa693904825fbce7750625e4fc40f97ee5b236f (patch) | |
tree | c052f7e1f92f2be86e488cddcd95a2feafa0dea4 /biology/molden/Makefile | |
parent | 07792bfe645e836adcac625a6fa8731544a294e8 (diff) | |
download | freebsd-ports-gnome-dfa693904825fbce7750625e4fc40f97ee5b236f.tar.gz freebsd-ports-gnome-dfa693904825fbce7750625e4fc40f97ee5b236f.tar.zst freebsd-ports-gnome-dfa693904825fbce7750625e4fc40f97ee5b236f.zip |
- Roll back to 4.6 as 4.7 is the development version and is constantly being
re-rolled.
- Move post-patch target into files/patch-xwin.c to remove sed invocation.
- Respect NOPORTDATA and DATADIR.
- Bring files/patch-aa back (to preserve history) and retire patch-makefile.
- Fixup files/patch-xwin.c so it applies cleanly to this version.
Diffstat (limited to 'biology/molden/Makefile')
-rw-r--r-- | biology/molden/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile index 177b352b4c09..a16f75d51f32 100644 --- a/biology/molden/Makefile +++ b/biology/molden/Makefile @@ -6,7 +6,8 @@ # PORTNAME= molden -PORTVERSION= 4.7 +PORTVERSION= 4.6 +PORTEPOCH= 1 CATEGORIES= biology MASTER_SITES= ftp://ftp.cmbi.kun.nl/pub/molgraph/molden/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -15,8 +16,6 @@ DIST_SUBDIR= ${PKGNAME} MAINTAINER= oivulf@gmail.com COMMENT= Display molecular orbitals and electron densities in 2D and 3D -BROKEN= Does not fetch - USE_XORG= x11 xmu USE_GL= glut USE_FORTRAN= yes @@ -28,9 +27,6 @@ MAKEFILE= ${WRKSRC}/makefile PORTDOCS= docs/* .endif -post-patch: - @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/xwin.c - post-configure: @${ECHO_MSG} "********************" @${ECHO_MSG} "** If you want to use a larger MOLDEN," @@ -47,9 +43,11 @@ do-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} .endif - ${MKDIR} ${PREFIX}/share/molden/test - ${MKDIR} ${PREFIX}/share/molden/utils - ${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/molden/test - ${INSTALL_DATA} ${WRKSRC}/utils/* ${PREFIX}/share/molden/utils +.if !defined(NOPORTDATA) + ${MKDIR} ${DATADIR}/test + ${MKDIR} ${DATADIR}/utils + ${INSTALL_DATA} ${WRKSRC}/test/* ${DATADIR}/test + ${INSTALL_DATA} ${WRKSRC}/utils/* ${DATADIR}/utils +.endif .include <bsd.port.mk> |