aboutsummaryrefslogtreecommitdiff
path: root/print/kaspaliste/Makefile
blob: 6d0cc158d2ce41120dcab57ea94ecca9c2741896 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:	kaspaliste
# Date created:				16 December 2003
# Whom:					jaapb
#
# $FreeBSD$
#

PORTNAME=		kaspaliste
PORTVERSION=		0.96
PORTREVISION=		4
CATEGORIES=		print kde
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	kaspaliste

MAINTAINER=		jaapb@kerguelen.org
COMMENT=		Bibliography tool for KDE/Postgres/BibTeX

USE_PGSQL=		yes
USE_KDEBASE_VER=	3
USE_AUTOTOOLS=		libtool:15
USE_GMAKE=		yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}	\
			--with-pg-includes=${LOCALBASE}/include \
			--with-pg-libs=${LOCALBASE}/lib

PKGMESSAGE=		${WRKDIR}/pkg-message

.include <bsd.port.pre.mk>

pre-configure:
	@${RM} ${WRKSRC}/config.cache

post-install:
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/data/create.tables.sql ${DATADIR}
	@${SED} -e "s|%%DATADIR%%|${DATADIR}|" < ${FILESDIR}/pkg-message.in	\
		> ${PKGMESSAGE}
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>