1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/graphics/scr2png/Makefile
Dirk Meyer eff60e5ddb - update libgd to 2.3.0
- new option RAQM
- resurrect deprecated gdlib-config
- bump dependend ports
2020-05-04 21:31:39 +00:00

28 lines
572 B
Makefile

# Created by: nik
# $FreeBSD$
PORTNAME= scr2png
PORTVERSION= 1.2
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= LOCAL/nik
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts the output of "vidcontrol -p" to PNG
LICENSE= BSD2CLAUSE
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>