mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
80365401d0
- 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
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: cfs@ing.puc.cl (original)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= urt
|
|
PORTVERSION= 3.1b1
|
|
PORTREVISION= 12
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://BSDforge.com/projects/source/graphics/utah-raster/
|
|
|
|
MAINTAINER= portmaster@bsdforge.com
|
|
COMMENT= Toolkit and library for raster image processing
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/copyright
|
|
|
|
LIB_DEPENDS= libnetpbm.so:graphics/netpbm \
|
|
libtiff.so:graphics/tiff
|
|
|
|
USES= gmake tar:xz
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/netpbm
|
|
USE_XORG= x11 xext
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT=Configure
|
|
CONFIGURE_ARGS= config/urt
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
|
|
ALL_TARGET= # none
|
|
USE_LDCONFIG= yes
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librle.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/img
|
|
@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/img)
|
|
|
|
.include <bsd.port.mk>
|