1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/gpaint/Makefile
Baptiste Daroussin 54acd8a342 drop gnomeprint dependency
gnomeprint has been deprecated long ago, the port actually optionnaly
depends on it, or can use directly gtkprint.

Remove the dependency on gnomeprint, actually patch the configure script
to ensure gtkprint is preferred over gnomeprint if gnomeprint is still
installed on end user machines
2019-12-26 21:03:04 +00:00

29 lines
587 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= gpaint
PORTVERSION= 0.3.3
DISTVERSIONPREFIX= 2-
PORTREVISION= 7
CATEGORIES= graphics gnome
MASTER_SITES= GNU_ALPHA
MAINTAINER= ports@FreeBSD.org
COMMENT= Small-scale painting program for GNOME
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gnome libtool pkgconfig
USE_GNOME= gtk20 libglade2
GNU_CONFIGURE= yes
LIBS+= -lm
PLIST_FILES= bin/gpaint-2 %%DATADIR%%/glade/gpaint.glade
post-patch:
@${REINPLACE_CMD} -e \
's|_RESPONSE_DISCARD|_RESPONSE_NO|g' ${WRKSRC}/src/drawing.c
.include <bsd.port.mk>