summaryrefslogtreecommitdiffstats
path: root/print/pdfcube/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/pdfcube/Makefile')
-rw-r--r--print/pdfcube/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/print/pdfcube/Makefile b/print/pdfcube/Makefile
new file mode 100644
index 000000000..02cc80b07
--- /dev/null
+++ b/print/pdfcube/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: pdfcube
+# Date created: Apr. 20, 2007
+# Whom: Li-Wen Hsu <lwhsu@FreeBSD.org>
+#
+# $FreeBSD: ports/print/pdfcube/Makefile,v 1.12 2010/03/28 06:42:45 dinoex Exp $
+#
+
+PORTNAME= pdfcube
+PORTVERSION= 0.0.3
+PORTREVISION= 4
+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-gtk \
+ boost_program_options:${PORTSDIR}/devel/boost-libs
+
+USE_GL= glut
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include
+
+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>