aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libdjvu++/Makefile
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-03-30 05:22:50 +0800
committerade <ade@FreeBSD.org>2000-03-30 05:22:50 +0800
commit51c22eea984352ab62c150d27e0abd27a69ca88b (patch)
tree24de2faf676557b657d6adcbfaccdd896793f1dd /graphics/libdjvu++/Makefile
parent0950028832d5d8378973a73fd251f429262f8547 (diff)
downloadfreebsd-ports-gnome-51c22eea984352ab62c150d27e0abd27a69ca88b.tar.gz
freebsd-ports-gnome-51c22eea984352ab62c150d27e0abd27a69ca88b.tar.zst
freebsd-ports-gnome-51c22eea984352ab62c150d27e0abd27a69ca88b.zip
libdjvu++ is AT&T's DjVu library from scanned images
See http://www.djvu.com/ for more details PR: 12722 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'graphics/libdjvu++/Makefile')
-rw-r--r--graphics/libdjvu++/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/libdjvu++/Makefile b/graphics/libdjvu++/Makefile
new file mode 100644
index 000000000000..4b3bcce5127f
--- /dev/null
+++ b/graphics/libdjvu++/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: libdjvu++
+# Version required: 2.1
+# Date Created: 20 July 1999
+# Whom: Mikhail Teterin <mi@aldan.algebra.com>
+#
+# $FreeBSD$
+#
+
+DISTNAME= libdjvu++-2.1
+CATEGORIES= graphics
+MASTER_SITES= http://www.djvu.com/open/
+
+MAINTAINER= mi@aldan.algebra.com
+
+IS_INTERACTIVE= yes
+USE_NEWGCC= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ENV= CXX=${CXX}
+CONFIGURE_ARGS= --with-cxxflag="${CXXFLAGS}"
+MAKE_ARGS= OPT=""
+
+post-extract:
+ ${SH} ${WRKSRC}/RunMe
+
+do-install:
+.for prog in djvuinfo c44 d44 djvutopnm djvumake djvuextract ppmcoco bzz
+ ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${PREFIX}/bin
+.endfor
+.for lib in libdjvu++.a libdjvu++.so.2
+ ${INSTALL_DATA} ${WRKSRC}/${lib} ${PREFIX}/lib
+.endfor
+ ${LN} -sf libdjvu++.so.2 ${PREFIX}/lib/libdjvu++.so
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/djvu
+ ${INSTALL_DATA} ${WRKSRC}/@Doc/* ${PREFIX}/share/doc/djvu
+.endif
+
+.include <bsd.port.mk>