From 51c60ddf7f7c0942f2a332498ef7e104a0c11dc0 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 18 Nov 2013 13:45:44 +0000 Subject: Convert to USES=dos2unix While here stagify some of the ports Modernize LIB_DEPENDS Extract zip with bsdtar when possible --- biology/povchem/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'biology') 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 -- cgit v1.2.3