aboutsummaryrefslogtreecommitdiff
path: root/graphics/tumble/Makefile
blob: 69c054cf7003a5dbb173ecea3b11a303b5d77ab3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PORTNAME=	tumble
DISTVERSIONPREFIX=	v
DISTVERSION=	0.38
CATEGORIES=	graphics print

MAINTAINER=	fuz@fuz.su
COMMENT=	Creates a PDF file from image files
WWW=		http://tumble.brouhaha.com/

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

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>