1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Reduce complexity in the scr2png port.

Reviewed by:	zeising
Tested by:	redports
This commit is contained in:
Eitan Adler 2013-08-25 16:32:50 +00:00
parent d486ea39cc
commit 13caedb96a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325362

View File

@ -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>