freebsd-ports/math/pgcalc/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

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: PG Calculator
# Date created: 20 Mar 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pgcalc2
DISTVERSION= 2.2-10
PORTREVISION= 4
CATEGORIES= math kde
MASTER_SITES= http://www.pgcalc.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= A powerful scientific skinnable calculator
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
USE_QT_VER= 3
USE_KDELIBS_VER= 3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= ARTS
OPTIONS_DEFAULT= ARTS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MARTS}
CONFIGURE_ARGS+= --without-arts
.endif
post-extract:
# Fix permissions for ``make clean'' to work
@${CHMOD} 755 ${WRKSRC}/skins/HP49G+ ${WRKSRC}/admin/install-sh
@${REINPLACE_CMD} -e 's,LIBS)$$,& $$(LIBPTHREAD),' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -E 's,cp ([^-]*).* -r$$,${CP} -r \1,' \
${WRKSRC}/Makefile.in
# Remove backup leftovers (since installs via recursive copy)
@${FIND} ${WRKSRC}/skins -name \*~ -delete
# Allow it to find its own skins
@${REINPLACE_CMD} -e 's,SkinPath =,& QString("${PREFIX}/share/apps/${PORTNAME}/skins/"); //,' \
${WRKSRC}/src/pgcalc.cpp
.include <bsd.port.mk>