1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/deskutils/gruler/Makefile
Jean-Yves Lefort 7c10e30e3a Change my MAINTAINER email address to jylefort@FreeBSD.org
Approved by:	adamw (mentor)
2005-04-12 22:10:43 +00:00

33 lines
872 B
Makefile

# New ports collection makefile for: gruler
# Date created: 24 October 2004
# Whom: Piotr Smyrak <smyru@heron.pl>
#
# $FreeBSD$
#
PORTNAME= gruler
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= http://linuxadvocate.org/projects/gruler/downloads/
MAINTAINER= jylefort@FreeBSD.org
COMMENT= A customizable screen ruler for GNOME
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack libgnomeui libglade2
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_REINPLACE= yes
USE_GCC= 3.4
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=""||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|PACKAGE_DATA_DIR|"${PREFIX}/share/gnome"|' \
${WRKSRC}/src/gui.c
@${REINPLACE_CMD} -e 's|^\(gruler_pixmapsdir = \).*|\1${PREFIX}/share/gnome/pixmaps|' \
${WRKSRC}/pixmaps/Makefile.in
.include <bsd.port.mk>