2006-10-31 14:32:09 +01:00
|
|
|
# New ports collection makefile for: DeCurs
|
|
|
|
# Date created: 19 January 2002
|
|
|
|
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
|
2002-05-25 12:50:42 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= decurs
|
2003-07-27 17:53:52 +02:00
|
|
|
PORTVERSION= 0.55.1
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 5
|
2002-05-25 12:50:42 +02:00
|
|
|
CATEGORIES= x11
|
2003-03-24 03:47:46 +01:00
|
|
|
MASTER_SITES= http://varg.dyndns.org/psi/files/
|
2002-05-25 12:50:42 +02:00
|
|
|
|
2005-01-24 10:40:38 +01:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2003-03-07 07:36:20 +01:00
|
|
|
COMMENT= A GTK+ based program that lets you edit you XFree86 mouse cursors
|
2002-05-25 12:50:42 +02:00
|
|
|
|
2006-05-29 08:11:17 +02:00
|
|
|
LIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtkmm20
|
2002-05-25 12:50:42 +02:00
|
|
|
|
2003-06-05 00:43:38 +02:00
|
|
|
USE_X_PREFIX= yes
|
2003-07-27 17:53:52 +02:00
|
|
|
USE_GNOME= gnometarget gtk20
|
2003-06-05 00:43:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-05-18 11:55:25 +02:00
|
|
|
|
2003-11-02 10:22:04 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-01-24 10:40:38 +01:00
|
|
|
.if ${ARCH} != "i386"
|
2006-10-31 14:32:09 +01:00
|
|
|
BROKEN= Does not compile on !i386
|
2005-11-21 02:30:40 +01:00
|
|
|
.endif
|
|
|
|
|
2003-07-11 04:09:11 +02:00
|
|
|
post-patch:
|
2003-07-27 17:53:52 +02:00
|
|
|
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \
|
|
|
|
${FILESDIR}/decurs.exec > ${WRKSRC}/decurs.exec
|
2005-01-24 10:40:38 +01:00
|
|
|
.if ${OSVERSION} > 500035
|
|
|
|
# Hack for contemporary GCC
|
2006-10-31 14:32:09 +01:00
|
|
|
@${REINPLACE_CMD} -e 's/CppString \&str/const &/' \
|
2005-01-24 10:40:38 +01:00
|
|
|
${WRKSRC}/src/cppstring.cc ${WRKSRC}/src/cppstring.hh
|
|
|
|
@${REINPLACE_CMD} -E 's/^\/\/ friend//; s/([^:])ostream/\1std::ostream/g' \
|
|
|
|
${WRKSRC}/src/cppstring.hh
|
|
|
|
.endif
|
2003-07-11 04:09:11 +02:00
|
|
|
|
2002-10-10 21:44:38 +02:00
|
|
|
do-install:
|
2003-07-27 17:53:52 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/decurs ${PREFIX}/bin/decurs.bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/decurs.exec ${PREFIX}/bin/decurs
|
2002-10-10 21:44:38 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
2003-07-27 17:53:52 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.bdf ${DATADIR}
|
2002-05-25 12:50:42 +02:00
|
|
|
|
2003-11-02 10:22:04 +01:00
|
|
|
.include <bsd.port.post.mk>
|