aboutsummaryrefslogtreecommitdiffstats
path: root/print/pdfcube/Makefile
blob: ec33b01740a400dc09bcb38d8cd67c9ceaaf8341 (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
# New ports collection makefile for:    pdfcube
# Date created:     Apr. 20, 2007
# Whom:         Li-Wen Hsu <lwhsu@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pdfcube
DISTVERSION=    0.0.4-beta
CATEGORIES= print
MASTER_SITES=   http://code.100allora.it/releases/pdfcube/

MAINTAINER= lwhsu@FreeBSD.org
COMMENT=    An OpenGL presentation viewer on a spinning cube

LIB_DEPENDS=    gtkglext:${PORTSDIR}/x11-toolkits/gtkglext \
        poppler-glib:${PORTSDIR}/graphics/poppler-glib \
        boost_program_options:${PORTSDIR}/devel/boost-libs

USE_GL=     glut
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}

PLIST_FILES=    bin/pdfcube

post-patch:
    ${REINPLACE_CMD} -e \
        's|BOOSTLIBDIR/libboost_program_options\*\.{so,a}\*|BOOSTLIBDIR/libboost_program_options.so|' \
        ${WRKSRC}/configure

.include <bsd.port.mk>