1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/graphics/giftool/Makefile
Antoine Brodin 2a6c55b1d2 - Stage support
- Use OPTIONS helpers
2014-01-21 20:06:33 +00:00

37 lines
913 B
Makefile

# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
PORTNAME= giftool
PORTVERSION= 1.0
CATEGORIES= graphics
MASTER_SITES= http://www.the-labs.com/GIFTool/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for GIF89a transparent option and interlace mode
NO_CDROM= Shareware
NO_WRKSUBDIR= yes
ALL_TARGET= giftool
MAKE_ARGS= CFLAGS="${CFLAGS}"
OPTIONS_DEFINE= RETVALUE MALLOCSIZE DOCS
OPTIONS_DEFAULT= RETVALUE MALLOCSIZE
RETVALUE_DESC= Return value patch
MALLOCSIZE_DESC= Improve malloc size
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= COPYRIGHT README
RETVALUE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-aa
MALLOCSIZE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ab
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/giftool ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>