1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/palm/ppmtoTbmp/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

39 lines
888 B
Makefile

# Created by: Jose Marques <noway@nohow.demon.co.uk>
# $FreeBSD$
PORTNAME= ppmtoTbmp
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= palm graphics
MASTER_SITES= http://www.isaac.cs.berkeley.edu/pilot/
MAINTAINER= ports@FreeBSD.org
COMMENT= PPM to Pilot bitmap converter
LICENSE= NONE
LIB_DEPENDS= libnetpbm.so:graphics/netpbm
USES= localbase:ldflags
MAKE_ARGS= CFLAGS="${CFLAGS}" LDLIBS=-lnetpbm
CFLAGS+= -I${LOCALBASE}/include/netpbm
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^#include "ppmcmap\.h"/d' ${WRKSRC}/ppmtoTbmp.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ppmtoTbmp ${WRKSRC}/Tbmptopnm \
${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/q?.map ${STAGEDIR}${DATADIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>