blob: dd7ea1c052a246a7b4d8857ca1df70781755d621 (
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
28
29
30
31
32
33
34
|
# New ports collection makefile for: scr2png
# Date created: 18 May 2001
# Whom: nik
#
# $FreeBSD$
#
PORTNAME= scr2png
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= nik
NO_WRKSUBDIR= yes
MAINTAINER= nik@freebsd.org
COMMENT= Converts the output of "vidcontrol -p" to PNG
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
USE_REINPLACE= yes
MAN1= scr2png.1
MANCOMPRESSED= yes
post-extract:
@${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>
|