1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/x11/decurs/Makefile
Jeremy Messenger 5e32716f8b x11-toolkits/gtk--2 -> x11-toolkits/gtkmm20
x11-toolkits/gtk--2-reference -> x11-toolkits/gtkmm20-reference

Rename this ports to use the real vendor package name. The advantage of this
is to allow our users' keyword search works and easier for users to file the
Bugzilla report when they use our name of ports. Debian, Gentoo, NetBSD and
other OSs have the correct package name, but not in our ports tree.

My team, FreeBSD GNOME Team, have agreed with it.

As for other ports, chase the rename.

PR:		ports/97985
Repocopy by:	marcus
2006-05-29 06:11:17 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: decurs
# Date created: 19 January 2002
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
#
# $FreeBSD$
#
PORTNAME= decurs
PORTVERSION= 0.55.1
PORTREVISION= 5
CATEGORIES= x11
MASTER_SITES= http://varg.dyndns.org/psi/files/
MAINTAINER= danfe@FreeBSD.org
COMMENT= A GTK+ based program that lets you edit you XFree86 mouse cursors
LIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtkmm20
USE_X_PREFIX= yes
USE_GNOME= gnometarget gtk20
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
.if ${OSVERSION} >= 600000
BROKEN= "Does not compile on FreeBSD >= 6.0"
.endif
post-patch:
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \
${FILESDIR}/decurs.exec > ${WRKSRC}/decurs.exec
.if ${OSVERSION} > 500035
# Hack for contemporary GCC
@${REINPLACE_CMD} -e 's/, CppString \&str/, const CppString \&str/' \
${WRKSRC}/src/cppstring.cc ${WRKSRC}/src/cppstring.hh
@${REINPLACE_CMD} -E 's/^\/\/ friend//; s/([^:])ostream/\1std::ostream/g' \
${WRKSRC}/src/cppstring.hh
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/decurs ${PREFIX}/bin/decurs.bin
${INSTALL_SCRIPT} ${WRKSRC}/decurs.exec ${PREFIX}/bin/decurs
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/fonts/*.bdf ${DATADIR}
.include <bsd.port.post.mk>