summaryrefslogtreecommitdiffstats
path: root/comms/kpsk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/kpsk/Makefile')
-rw-r--r--comms/kpsk/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/comms/kpsk/Makefile b/comms/kpsk/Makefile
new file mode 100644
index 0000000..8928069
--- /dev/null
+++ b/comms/kpsk/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: kpsk
+# Date created: 2002-06-12
+# Whom: Patrick Gardella <patrick@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= kpsk
+PORTVERSION= 1.0
+CATEGORIES= comms kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+
+MAINTAINER= patrick@FreeBSD.org
+
+LIB_DEPENDS= db4:${PORTSDIR}/databases/db4
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_KDELIBS_VER=3
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-D_POSIX_C_SOURCE -I${LOCALBASE}/include" \
+ USER_LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-debug=full
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's/-ldb-4.0/-ldb4/g' ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${INSTALL_MAN} ${WRKSRC}/doc/en/HTML/handbook.html ${PREFIX}/share/doc/HTML/en/kpsk/
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud