aboutsummaryrefslogtreecommitdiff
path: root/graphics/scr2png/Makefile
blob: ec239eca37e8f69d60cba7aa8247d0dc1e0fb9ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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

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>