1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/graphics/apngdis/Makefile
Jason E. Hale 0ade182948 apngdis converts an APNG file into a sequence of individual PNG frames
via a simple command-line interface.

WWW: http://sourceforge.net/projects/apngdis/

PR:		ports/173205
Submitted by:	nemysis <nemysis@gmx.ch>
Approved by:	makc, avilla (mentors, implicit)
Feature safe:	yes
2012-11-04 09:54:21 +00:00

47 lines
801 B
Makefile

# Created by: nemysis@gmx.ch
# $FreeBSD$
PORTNAME= apngdis
PORTVERSION= 2.5
DISTVERSIONSUFFIX=-src
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= nemysis@gmx.ch
COMMENT= Deconstructs APNG files into individual frames
LICENSE= ZLIB
NO_WRKSUBDIR= yes
USE_DOS2UNIX= yes
USE_ZIP= yes
LDFLAGS+= -lz
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= readme.txt
OPTIONS_DEFINE= DOCS STATIC
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSTATIC}
LDFLAGS+= -static
.endif
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} ${PORTNAME}.c \
-o ${PORTNAME} ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>