1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/graphics/tumble/Makefile
Joseph Mingrone cfecf68fcc
graphics/tumble: Set maintainer to ports@
This was requested by fuz@fuz.su.
2021-08-21 07:40:00 -03:00

48 lines
968 B
Makefile

# Created by: Rob Farmer <rfarmer@predatorlabs.net>
PORTNAME= tumble
DISTVERSIONPREFIX= v
DISTVERSION= 0.36
PORTREVISION= 1
CATEGORIES= graphics print
MAINTAINER= ports@FreeBSD.org
COMMENT= Creates a PDF file from image files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libtiff.so:graphics/tiff \
libnetpbm.so:graphics/netpbm
USES= bison gmake jpeg localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= brouhaha
CFLAGS+= -I${LOCALBASE}/include/netpbm
PLIST_FILES= bin/tumble
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|^\(CFLAGS\) =.*|\1 := $$(CFLAGS)| ; \
s|^\(LDFLAGS\) =.*|\1 := $$(LDFLAGS)| ; \
s|-O3|| ; \
s|-lpbm|-lnetpbm| ; \
s|strip|true|' ${WRKSRC}/Makefile
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} tumble \
${STAGEDIR}${PREFIX}/bin)
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} README \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>