diff options
author | bapt <bapt@FreeBSD.org> | 2013-11-18 21:45:44 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-11-18 21:45:44 +0800 |
commit | fa5cfad14187ef5fd9e14f12908abe0a5fc73787 (patch) | |
tree | 003722865c3ffbd06a385211135ea1ca17afd24a /biology/povchem | |
parent | 1eefcd191af75528bbbb37fc017a8b2b5fabceba (diff) | |
download | freebsd-ports-gnome-fa5cfad14187ef5fd9e14f12908abe0a5fc73787.tar.gz freebsd-ports-gnome-fa5cfad14187ef5fd9e14f12908abe0a5fc73787.tar.zst freebsd-ports-gnome-fa5cfad14187ef5fd9e14f12908abe0a5fc73787.zip |
Convert to USES=dos2unix
While here stagify some of the ports
Modernize LIB_DEPENDS
Extract zip with bsdtar when possible
Diffstat (limited to 'biology/povchem')
-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> |