blob: ee13293eb9f57ee00c2d4c8e409bdb5363dca73f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
PORTNAME= gpaint
DISTVERSIONPREFIX= 2-
DISTVERSION= 0.3.4
CATEGORIES= graphics gnome
MASTER_SITES= GNU_ALPHA
MAINTAINER= Clockwork6400@protonmail.com
COMMENT= Small-scale painting program for GNOME
WWW= https://www.gnu.org/software/gpaint/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gnome libtool pkgconfig
USE_GNOME= gtk20 libglade2
GNU_CONFIGURE= yes
LIBS+= -lm
PLIST_FILES= ${DATADIR}/glade/gpaint.glade \
bin/gpaint-2
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|_RESPONSE_DISCARD|_RESPONSE_NO|g' ${WRKSRC}/src/drawing.c
.include <bsd.port.mk>
|