Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 14:30:20 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337992 - head/biology/molden
Message-ID:  <201312291430.rBTEUKGm065879@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Dec 29 14:30:20 2013
New Revision: 337992
URL: http://svnweb.freebsd.org/changeset/ports/337992

Log:
  - USES=fortran gmake.
  - Add dependency on xproto.
  - Fix build with new CFLAGS.
  - Staging.
  - New WWW.

Modified:
  head/biology/molden/Makefile
  head/biology/molden/pkg-descr   (contents, props changed)

Modified: head/biology/molden/Makefile
==============================================================================
--- head/biology/molden/Makefile	Sun Dec 29 14:23:48 2013	(r337991)
+++ head/biology/molden/Makefile	Sun Dec 29 14:30:20 2013	(r337992)
@@ -19,20 +19,19 @@ OPTIONS_DEFAULT=DATA
 
 WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION:R}
 
-USE_XORG=	x11
+USES=		fortran gmake
+USE_XORG=	x11 xproto
 USE_GL=		glu
-USE_FORTRAN=	yes
-USE_GMAKE=	yes
 MAKEFILE=	makefile
 MAKE_JOBS_UNSAFE=yes
 
-CFLAGS+=	-D${OPSYS:U} -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
+CFLAGS+=	-D${OPSYS:U} -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0 \
+		-I/usr/local/include -Wno-return-type
 
 PORTDOCS=	*
 PORTDATA=	*
 PLIST_FILES=	bin/ambfor bin/gmolden bin/molden bin/surf
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -51,19 +50,19 @@ post-configure:
 	@${ECHO_MSG} "********************"
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/molden ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/gmolden ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/ambfor/ambfor ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/surf/surf ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/molden ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/gmolden ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/ambfor/ambfor ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/surf/surf ${STAGEDIR}${PREFIX}/bin
 .if ${PORT_OPTIONS:MDATA}
-	@${MKDIR} ${DATADIR}/test
-	${INSTALL_DATA} ${WRKSRC}/test/* ${DATADIR}/test
-	@${MKDIR} ${DATADIR}/utils
-	${INSTALL_DATA} ${WRKSRC}/utils/* ${DATADIR}/utils
+	${MKDIR} ${STAGEDIR}${DATADIR}/test
+	${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${DATADIR}/test
+	${MKDIR} ${STAGEDIR}${DATADIR}/utils
+	${INSTALL_DATA} ${WRKSRC}/utils/* ${STAGEDIR}${DATADIR}/utils
 .endif
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/biology/molden/pkg-descr
==============================================================================
--- head/biology/molden/pkg-descr	Sun Dec 29 14:23:48 2013	(r337991)
+++ head/biology/molden/pkg-descr	Sun Dec 29 14:30:20 2013	(r337992)
@@ -11,4 +11,4 @@ By the distribution policy of the author
  * Using a not-so-latest version is prohibited, because 
    the author may only respond about the latest version.
 
-WWW: http://www.cmbi.kun.nl/~schaft/molden/molden.html
+WWW: http://www.cmbi.ru.nl/molden/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291430.rBTEUKGm065879>