2001-06-16 16:06:37 -04:00
|
|
|
# New ports collection makefile for: kiltdown
|
|
|
|
# Date Created: 16 Jun 2001
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kiltdown
|
|
|
|
PORTVERSION= 0.8.045
|
2001-08-01 07:56:24 -04:00
|
|
|
PORTREVISION= 3
|
2001-06-16 16:06:37 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= kiltdown
|
|
|
|
|
2001-06-24 00:28:57 -04:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2001-06-16 16:06:37 -04:00
|
|
|
|
2001-08-01 07:56:24 -04:00
|
|
|
LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
|
2001-06-16 16:06:37 -04:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_QT_VER= 2
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MY_CONFIGURE_ARGS= -release
|
2002-01-05 18:43:13 -05:00
|
|
|
MY_CONFIGURE_ARGS+= -qtinc ${X11BASE}/include/qt2 -qtlib ${X11BASE}/lib
|
|
|
|
MY_CONFIGURE_ARGS+= -dbinc ${LOCALBASE}/include/db3 -dblib ${LOCALBASE}/lib
|
2001-06-16 16:06:37 -04:00
|
|
|
BUILD_ENV+= PATH=${PATH}:${X11BASE}/bin
|
|
|
|
|
2001-08-01 11:55:00 -04:00
|
|
|
post-patch:
|
|
|
|
@${PERL5} -pi \
|
|
|
|
-e "s/SYS_CFLAGS=-pthread/SYS_CFLAGS=${PTHREAD_CFLAGS} ${CFLAGS}/" \
|
2002-01-05 18:43:13 -05:00
|
|
|
${WRKSRC}/configs/bsd-generic
|
2001-08-01 11:55:00 -04:00
|
|
|
@${PERL5} -pi \
|
|
|
|
-e "s/SYS_LDFLAGS=-pthread/SYS_LDFLAGS=${PTHREAD_LIBS} ${LDFLAGS}/" \
|
2002-01-05 18:43:13 -05:00
|
|
|
${WRKSRC}/configs/bsd-generic
|
2001-08-01 11:55:00 -04:00
|
|
|
|
2001-06-16 16:06:37 -04:00
|
|
|
do-configure:
|
|
|
|
(cd ${CONFIGURE_WRKSRC} && \
|
|
|
|
./${CONFIGURE_SCRIPT} ${MY_CONFIGURE_ARGS} )
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/kiltdown/kiltdown ${PREFIX}/bin/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|