freebsd-ports/textproc/skim/Makefile
Beat Gaetzi 8558ca7184 - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8
was released in 2007 and KDE 3.5.10 in 2008 and both are no longer
  maintained upstream nor in our tree.
- Set EXPIRATION_DATE to 2013-07-01

Discussed with:	bapt, tabthorpe
2012-12-30 12:03:51 +00:00

64 lines
1.5 KiB
Makefile

# New ports collection makefile for: skim
# Date created: 21 July 2004
# Whom: Jie Gao <gaoj@cpsc.ucalgary.ca>
#
# $FreeBSD$
#
PORTNAME= skim
PORTVERSION= 1.4.5
PORTREVISION= 5
CATEGORIES= textproc kde
MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An input method platform based on SCIM library and KDE/QT
LIB_DEPENDS= scim-1.0:${PORTSDIR}/textproc/scim
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
USE_KDELIBS_VER=3
USE_PYTHON= yes
USE_BZIP2= yes
USE_ICONV= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
PYDISTUTILS_NOEGGINFO= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
PREFIX="${PREFIX}"
LDFLAGS+= -L${LOCALBASE}/lib -lintl
CXXFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__ ${CFLAGS}
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} > 250
BROKEN= Doesn't build with ${PYTHON_VERSION}
.endif
post-patch:
${REINPLACE_CMD} s,bash,sh,g ${WRKSRC}/src/scim-panel-kde.in
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./configure
post-configure:
${REINPLACE_CMD} \
-e s,/usr/local/lib/pkgconfig,${PREFIX}/libdata/pkgconfig,g \
-e s,/usr/lib/pkgconfig,${PREFIX}/libdata/pkgconfig,g \
-e s,lib/pkgconfig,libdata/pkgconfig,g \
${WRKSRC}/cache/pkg.cache.py
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./scons
do-install:
@cd ${WRKSRC} && ./scons install
post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO} To display this message again, type pkg_info -D ${PKGNAME}
.include <bsd.port.post.mk>