aboutsummaryrefslogtreecommitdiff
path: root/print/clibpdf/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-22 14:11:11 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-22 14:11:11 +0000
commit278f3e371b1c161f718ce024c91d6a14eba9c75c (patch)
tree77d24c08a9285b332b0a5e3bb1950ff3c7eaa297 /print/clibpdf/Makefile
parent1a959291f67ac53bf9ce3f7d00366453e2344b97 (diff)
downloadports-278f3e371b1c161f718ce024c91d6a14eba9c75c.tar.gz
ports-278f3e371b1c161f718ce024c91d6a14eba9c75c.zip
Notes
Diffstat (limited to 'print/clibpdf/Makefile')
-rw-r--r--print/clibpdf/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/print/clibpdf/Makefile b/print/clibpdf/Makefile
new file mode 100644
index 000000000000..d0ca035c58ba
--- /dev/null
+++ b/print/clibpdf/Makefile
@@ -0,0 +1,39 @@
+# New ports collection Makefile for: ClibPDF
+# Date created: 22 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= clibpdf
+PORTVERSION= 2.02.r1
+CATEGORIES= print
+MASTER_SITES= http://www.fastio.com/
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
+
+MAINTAINER= knu@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/ClibPDF/source
+
+INSTALLS_SHLIB= yes
+SHLIB_VER= 0
+
+MAKEFILE= Makefile.FreeBSD
+ALL_TARGET= lib shlib
+
+PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/cpdflib.h ${PREFIX}/include/
+ ${INSTALL_DATA} ${WRKSRC}/libcpdf.a ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/libcpdf.so ${PREFIX}/lib/libcpdf.so.${SHLIB_VER}
+ ${LN} -sf libcpdf.so.${SHLIB_VER} ${PREFIX}/lib/libcpdf.so
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/clibpdf
+ ${CP} -R ${WRKSRC}/../examples/ ${PREFIX}/share/examples/clibpdf/
+ ${MKDIR} ${PREFIX}/share/doc/clibpdf
+ ${CP} -R ${WRKSRC}/../doc/ ${PREFIX}/share/doc/clibpdf/
+ ${INSTALL_DATA} ${WRKSRC}/../*.pdf ${PREFIX}/share/doc/clibpdf/
+.endif
+
+.include <bsd.port.mk>