2001-05-20 22:31:23 +02:00
|
|
|
# New ports collection makefile for: scr2png
|
|
|
|
# Date created: 18 May 2001
|
|
|
|
# Whom: nik
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scr2png
|
2005-07-13 23:38:58 +02:00
|
|
|
PORTVERSION= 1.2
|
2001-05-20 22:31:23 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= nik
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2006-04-15 08:46:10 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Converts the output of "vidcontrol -p" to PNG
|
2001-05-20 22:31:23 +02:00
|
|
|
|
2003-08-18 18:15:10 +02:00
|
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
|
2001-05-20 22:31:23 +02:00
|
|
|
|
2002-09-06 21:42:45 +02:00
|
|
|
|
2001-05-20 22:31:23 +02:00
|
|
|
MAN1= scr2png.1
|
|
|
|
MANCOMPRESSED= yes
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/scr2png
|
2001-05-20 22:31:23 +02:00
|
|
|
|
2002-04-07 17:54:49 +02:00
|
|
|
post-extract:
|
2002-09-06 21:42:45 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
|
2003-07-13 09:16:09 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|<gd/gd\.h>|<gd.h>|' ${WRKSRC}/scr2png.c
|
2002-04-07 17:54:49 +02:00
|
|
|
|
2001-05-20 22:31:23 +02:00
|
|
|
do-install:
|
2002-06-14 01:04:41 +02:00
|
|
|
@cd ${WRKSRC}; ${MAKE} BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} install
|
2001-05-20 22:31:23 +02:00
|
|
|
|
2003-08-18 18:15:10 +02:00
|
|
|
.include <bsd.port.mk>
|