1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/graphics/metapixel/Makefile
Tilman Keskinoz cc977aa4f8 Update my Emailadress
Approved by: kris (mentor)
2002-10-22 13:15:25 +00:00

32 lines
820 B
Makefile

# Ports collection makefile for: metapixel
# Date created: 2002-05-23
# Whom: Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= metapixel
PORTVERSION= 0.7
CATEGORIES= graphics
MASTER_SITES= http://www.complang.tuwien.ac.at/~schani/metapixel/
MAINTAINER= arved@FreeBSD.org
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_GMAKE= yes
USE_REINPLACE= yes
post-patch:
@${RM} ${WRKSRC}/getopt.h
@${REINPLACE_CMD} -e 's,values.h,limits.h,' ${WRKSRC}/libzoom/simple.h
@${REINPLACE_CMD} -e 's,MINSHORT,SHRT_MAX,; \
s,MAXSHORT,SHRT_MAX,' ${WRKSRC}/libzoom/zoom.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/metapixel ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-prepare ${PREFIX}/bin
.include <bsd.port.mk>