mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
7e52725f2a
Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
37 lines
950 B
Makefile
37 lines
950 B
Makefile
# 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}
|
|
MASTER_SITE_SUBDIR= kpsk
|
|
|
|
MAINTAINER= patrick@FreeBSD.org
|
|
COMMENT= A PSK31 digital radio communications application for the KDE 3.x
|
|
|
|
LIB_DEPENDS= db4:${PORTSDIR}/databases/db4
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_KDELIBS_VER=3
|
|
USE_REINPLACE= yes
|
|
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>
|