1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/graphics/scr2png/Makefile
Dirk Meyer 3561a46f28 - update libgd to 2.2.2
- new MASTER_SITES
- add security patch
PR:		210913
Submitted by:	Piotr Kubaj
MFH:		2016Q3
Security: CVE-2015-8874
Security: CVE-2016-3074
Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
2016-07-20 09:33:31 +00:00

26 lines
552 B
Makefile

# Created by: nik
# $FreeBSD$
PORTNAME= scr2png
PORTVERSION= 1.2
PORTREVISION= 7
CATEGORIES= graphics
MASTER_SITES= LOCAL/nik
MAINTAINER= eadler@FreeBSD.org
COMMENT= Converts the output of "vidcontrol -p" to PNG
LIB_DEPENDS= libgd.so:graphics/gd
NO_WRKSUBDIR= yes
USES= uidfix
MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}
PLIST_FILES= bin/scr2png man/man1/scr2png.1.gz
pre-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|<gd/gd\.h>|<gd.h>|' ${WRKSRC}/scr2png.c
.include <bsd.port.mk>