1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/mail/kiltdown/Makefile
Pietro Cerutti 60aab9ad66 - Set NOT_FOR_ARCHS for amd64 and sparc64.
The port assumes sizeof(void*) == sizeof(int)
2008-06-11 14:05:45 +00:00

47 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= 11
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
NOT_FOR_ARCHS= amd64 sparc64
NOT_FOR_ARCHS_REASON= assumes 32-bit sized pointers
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.mk>