1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/graphics/scr2png/Makefile
Eitan Adler ed59156ea9 Clean up my ports (and a couple of ports@ owned ones):
- Fix COMMENT
- Add MAKE_JOBS_SAFE where appropriate
- Change ordering of LICENSE lines
- Fix new header format
- Etc.

Reviewed by:	drogoh (on irc)
2013-03-08 20:23:38 +00:00

32 lines
651 B
Makefile

# Created by: nik
# $FreeBSD$
PORTNAME= scr2png
PORTVERSION= 1.2
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= nik
MAINTAINER= eadler@FreeBSD.org
COMMENT= Converts the output of "vidcontrol -p" to PNG
LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
NO_WRKSUBDIR= yes
MAN1= scr2png.1
MANCOMPRESSED= yes
PLIST_FILES= bin/scr2png
MAKE_JOBS_SAFE= 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>