freebsd-ports/mail/kiltdown/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: kiltdown
# Date Created: 16 Jun 2001
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#
PORTNAME= kiltdown
PORTVERSION= 0.8.045
PORTREVISION= 10
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Kiltdown is an UI independant Email Client for UNIX
LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
PLIST_FILES= bin/kiltdown
USE_QT_VER= 3
USE_GMAKE= yes
MY_CONFIGURE_ARGS= -release
MY_CONFIGURE_ARGS+= -qtinc ${LOCALBASE}/include -qtlib ${LOCALBASE}/lib
MY_CONFIGURE_ARGS+= -dbinc ${LOCALBASE}/include/db3 -dblib ${LOCALBASE}/lib
BUILD_ENV+= PATH=${PATH}:${LOCALBASE}/bin
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
post-patch:
@${MV} ${WRKSRC}/configs/bsd-generic ${WRKSRC}/configs/bsd-generic.sed
${SED} \
-e "s|SYS_CFLAGS=-pthread|SYS_CFLAGS=${PTHREAD_CFLAGS} ${CFLAGS}|" \
-e "s|SYS_LDFLAGS=-pthread|SYS_LDFLAGS=${PTHREAD_LIBS} ${LDFLAGS}|" \
${WRKSRC}/configs/bsd-generic.sed \
> ${WRKSRC}/configs/bsd-generic
do-configure:
(cd ${CONFIGURE_WRKSRC} && \
./${CONFIGURE_SCRIPT} ${MY_CONFIGURE_ARGS} )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/kiltdown/kiltdown ${PREFIX}/bin/
.include <bsd.port.post.mk>