openbsd-ports/graphics/giftrans/Makefile
2013-03-11 11:10:51 +00:00

29 lines
643 B
Makefile

# $OpenBSD: Makefile,v 1.18 2013/03/11 11:10:52 espie Exp $
COMMENT= handle GIF89a transparent option and interlace mode
DISTNAME= giftrans
PKGNAME= giftrans-1.12
CATEGORIES= graphics
# BSD-like, badly worded
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= ftp://ftp.lab.kdd.co.jp/infosystems/misc/tools/
USE_GROFF = Yes
NO_TEST= Yes
do-configure:
@perl -pi -e 's,/usr/lib,${X11BASE}/lib,g' ${WRKSRC}/giftrans.c
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} giftrans.c -o giftrans
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/giftrans.1 ${PREFIX}/man/man1
.include <bsd.port.mk>