diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-11-18 13:45:44 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-11-18 13:45:44 +0000 |
commit | 51c60ddf7f7c0942f2a332498ef7e104a0c11dc0 (patch) | |
tree | 003722865c3ffbd06a385211135ea1ca17afd24a /biology | |
parent | Remove sysutils/iextract, it is unmaintained and depends on devel/libYGP (diff) |
Convert to USES=dos2unix
While here stagify some of the ports
Modernize LIB_DEPENDS
Extract zip with bsdtar when possible
Notes
Notes:
svn path=/head/; revision=334194
Diffstat (limited to 'biology')
-rw-r--r-- | biology/povchem/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/biology/povchem/Makefile b/biology/povchem/Makefile index e9f6802472df..28b0b3d64ebe 100644 --- a/biology/povchem/Makefile +++ b/biology/povchem/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray-meta NO_WRKSUBDIR= yes -USE_DOS2UNIX= povchem.c +USES= dos2unix CPPFLAGS+= -DDATADIR=\"${DATADIR}\" \ -DSYSCONFDIR=\"${PREFIX}/etc\" @@ -27,7 +27,6 @@ CPPFLAGS+= -DDATADIR=\"${DATADIR}\" \ PLIST_FILES= bin/povchem etc/povchem.cfg %%DATADIR%%/periodic.tab PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes post-extract: @(cd ${DISTDIR}/${DIST_SUBDIR} && ${TAR} -cf - ${DISTFILES}) | \ (cd ${WRKSRC} && ${TAR} -xf -) @@ -40,9 +39,9 @@ do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o povchem povchem.c -lm do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/povchem ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/povchem.cfg ${PREFIX}/etc - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/periodic.tab ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/povchem ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/povchem.cfg ${STAGEDIR}${PREFIX}/etc + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/periodic.tab ${STAGEDIR}${DATADIR} .include <bsd.port.mk> |