aboutsummaryrefslogtreecommitdiff
path: root/devel/dklibs/Makefile
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2009-08-01 21:49:30 +0000
committerWesley Shields <wxs@FreeBSD.org>2009-08-01 21:49:30 +0000
commit964f5ea4660e3f14184b9c9d004100a21161db16 (patch)
tree5d6fa2f2e419c14fa3fcb624b4eeda2d1bda8795 /devel/dklibs/Makefile
parent9d71fbde06198c7d350f9a1ec843d270b2b74941 (diff)
downloadports-964f5ea4660e3f14184b9c9d004100a21161db16.tar.gz
ports-964f5ea4660e3f14184b9c9d004100a21161db16.zip
The dklibs is a set of libraries by Dirk Krause.
The following libraries are included: * dkport portability layer * dkc general purpose C functions * dknet portable client side TCP/IP networking * dkappr access random number generators * dkbif library to read bitmap images * dklatsup support for applications creating LaTeX source files * dksdbi simple interface to NDBM, GDBM and BDB databases * dktrace produce debug output when linked to projects containing *.c files generated by tracecc The following programs are also included: * stc string table compiler * tracecc tracing preprocessor for C, C++, Objective-C and Java * trana trace output analyzer WWW: http://dklibs.sourceforge.net PR: ports/136913 Submitted by: Charlie Kester <corky1951@comcast.net> (maintainer)
Notes
Notes: svn path=/head/; revision=238740
Diffstat (limited to 'devel/dklibs/Makefile')
-rw-r--r--devel/dklibs/Makefile94
1 files changed, 94 insertions, 0 deletions
diff --git a/devel/dklibs/Makefile b/devel/dklibs/Makefile
new file mode 100644
index 000000000000..40acc6fc530d
--- /dev/null
+++ b/devel/dklibs/Makefile
@@ -0,0 +1,94 @@
+# Ports collection makefile for: dklibs
+# Date created: Jul 19, 2009
+# Whom: corky1951@comcast.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= dklibs
+PORTVERSION= 1.23.1
+CATEGORIES= devel
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= corky1951@comcast.net
+COMMENT= A set of libraries by Dirk Krause
+
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
+ jpeg:${PORTSDIR}/graphics/jpeg \
+ tiff:${PORTSDIR}/graphics/tiff \
+ netpbm:${PORTSDIR}/graphics/netpbm
+
+USE_BDB= 43+
+USE_OPENSSL_BASE= yes
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+MAKEFILE= Makefile-shared-linux
+USE_LDCONFIG= yes
+
+CFLAGS+= -I${LOCALBASE}/include \
+ -I${BDB_INCLUDE_DIR}
+
+CONFIGURE_ARGS+= --datadir=${DATADIR} \
+ --sysconfdir=${ETCDIR}
+
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
+
+# Need -lc for RELENG_6 support.
+MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -L${BDB_LIB_DIR} -lc"
+
+VERSION_PLUGIN= 1.23
+MAJOR_VERSION= 1
+
+PLIST_SUB+= VERSION_PLUGIN="${VERSION_PLUGIN}" \
+ MAJOR_VERSION="${MAJOR_VERSION}"
+
+.if !defined(NO_INSTALL_MANPAGES)
+MAN3= dk.3 \
+ dkapp.3 \
+ dkbf.3 \
+ dkbif.3 \
+ dkconfig.3 \
+ dkcp.3 \
+ dkenc.3 \
+ dkerror.3 \
+ dkfont.3 \
+ dkl2l.3 \
+ dkle.3 \
+ dklibs.3 \
+ dkma.3 \
+ dkmem.3 \
+ dkof.3 \
+ dkport.3 \
+ dkproto.3 \
+ dksdbi.3 \
+ dksf.3 \
+ dksfc.3 \
+ dksignal.3 \
+ dkslsupp.3 \
+ dksto.3 \
+ dkstr.3 \
+ dkstream.3 \
+ dkstt.3 \
+ dktcpip.3 \
+ dktok.3
+MANCOMPRESSED= no
+.endif
+
+post-install:
+.if !defined(NO_INSTALL_MANPAGES)
+ @${MKDIR} ${MAN3PREFIX}/man/man3
+.for manpage in ${MAN3}
+ ${INSTALL_MAN} ${WRKSRC}/man/man3/${manpage} ${MAN3PREFIX}/man/man3
+.endfor
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/DOCU/*.pdf ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/DOCU/*.png ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/DOCU/*.css ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/DOCU/*.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>