svn commit: r325362 - head/graphics/scr2png
Eitan Adler
eadler at FreeBSD.org
Sun Aug 25 16:32:51 UTC 2013
Author: eadler
Date: Sun Aug 25 16:32:50 2013
New Revision: 325362
URL: http://svnweb.freebsd.org/changeset/ports/325362
Log:
Reduce complexity in the scr2png port.
Reviewed by: zeising
Tested by: redports
Modified:
head/graphics/scr2png/Makefile
Modified: head/graphics/scr2png/Makefile
==============================================================================
--- head/graphics/scr2png/Makefile Sun Aug 25 16:25:04 2013 (r325361)
+++ head/graphics/scr2png/Makefile Sun Aug 25 16:32:50 2013 (r325362)
@@ -18,12 +18,10 @@ NO_WRKSUBDIR= yes
MAN1= scr2png.1
MANCOMPRESSED= yes
PLIST_FILES= bin/scr2png
+MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}
-post-extract:
+pre-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|<gd/gd\.h>|<gd.h>|' ${WRKSRC}/scr2png.c
-do-install:
- @cd ${WRKSRC}; ${MAKE} BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} install
-
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list