1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/graphics/tumble/Makefile
Tobias Kortkamp 80365401d0 graphics/netpbm: Update to 10.80.00
- This moves netpbm to the advanced release series, which brings the
  port closer to what is available on OpenBSD, Fedora, Arch Linux,
  openSUSE, etc. and will let us get rid of patches for supporting
  newer libpng versions.
- The advanced release series is only available via an SVN checkout.
  Add two maintenance targets netpbm-version-check and netpbm-fetch
  to make fetching them easier.  To generate release tarballs the sources
  are then tagged and committed to https://github.com/t6/netpbm
- Add STATIC option for linking all programs statically to allow running them
  in small chroots
- Add option to disable adding a Perl run dependency.  Only a fraction
  of all programs need it.  Some are compatibility shims for newer
  programs which should be used instead.  The following programs require
  Perl: pamfixtrunc pbmtox10bm pgmcrater pnmflip pnmquant pnmquantall ppmfade
  ppmquant ppmrainbow ppmshadow
- Disable building svgtopam by default.  It's the only program that
  requires libxml2 and is obsolete according to the author.
- Install manpages by default
- Allow running of the test suite via `make test`
- Headers have been moved to ${LOCALBASE}/include/netpbm.  Fix ports
  that expect them to be in ${LOCALBASE}/include

Changes:	https://raw.githubusercontent.com/t6/netpbm/v10.80.00/doc/HISTORY
PR:		219982
Reviewed by:	mat
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11157
2017-10-06 11:18:35 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Rob Farmer <rfarmer@predatorlabs.net>
# $FreeBSD$
PORTNAME= tumble
PORTVERSION= 0.33
PORTREVISION= 6
CATEGORIES= graphics print
MASTER_SITES= http://tumble.brouhaha.com/download/ \
http://www.sourcefiles.org/Graphics/Tools/Conversion/
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
CFLAGS+= -I${LOCALBASE}/include/netpbm
NOT_FOR_ARCHS= powerpc sparc64
NOT_FOR_ARCHS_REASON= Only works on little endian systems
PORTDOCS= README
PLIST_FILES= bin/tumble
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>