diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-14 04:27:10 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-01-14 04:27:10 +0000 |
commit | 8aaa99e52e3bbf975886ae7ec10e02a9fbee902d (patch) | |
tree | 550e5734ec7b2a23cd32acf690e780b2f4a7844f /graphics/tumble/Makefile | |
parent | 55ccadad19350222a1fb026614660fe336d877c5 (diff) | |
download | ports-8aaa99e52e3bbf975886ae7ec10e02a9fbee902d.tar.gz ports-8aaa99e52e3bbf975886ae7ec10e02a9fbee902d.zip |
Notes
Diffstat (limited to 'graphics/tumble/Makefile')
-rw-r--r-- | graphics/tumble/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/graphics/tumble/Makefile b/graphics/tumble/Makefile new file mode 100644 index 000000000000..1c11d5d1edeb --- /dev/null +++ b/graphics/tumble/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: lcdtest +# Date created: 12 Jan 2010 +# Whom: Rob Farmer <rfarmer@predatorlabs.net> +# +# $FreeBSD$ +# + +PORTNAME= tumble +PORTVERSION= 0.33 +CATEGORIES= graphics print +MASTER_SITES= http://tumble.brouhaha.com/download/ \ + http://www.predatorlabs.net/dl/ + +MAINTAINER= rfarmer@predatorlabs.net +COMMENT= Creates a PDF file from image files + +LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ + netpbm.1:${PORTSDIR}/graphics/netpbm +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex + +USE_GMAKE= yes +USE_BISON= build + +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +ONLY_FOR_ARCHS= amd64 arm i386 ia64 pc98 +ONLY_FOR_ARCHS_REASON= Only works on little endian systems + +PLIST_FILES= bin/tumble +PORTDOCS= README + +post-patch: + ${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|LDFLAGS =|LDFLAGS= ${LDFLAGS}|' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|-lpbm|-lnetpbm|' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tumble ${PREFIX}/bin/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> |