aboutsummaryrefslogtreecommitdiff
path: root/graphics/grafx2/Makefile
blob: 94c6dc291012b57260ce04dde24a6658e60d5ae8 (plain) (blame)
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
# New ports collection makefile for:	grafx2
# Date created:				23 Feb 2009
# Whom:					Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	grafx2
DISTVERSION=	2.00b98.0
DISTVERSIONSUFFIX=	-svn482
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Bitmap paint program that supports more than 60 video resolutions

USE_GMAKE=	yes
USE_DOS2UNIX=	yes
USE_SDL=	image ttf
MAKE_JOBS_SAFE=	yes

WRKSRC=		${WRKDIR}
MAKE_ENV+=	DATADIR="${DATADIR}"
CFLAGS+=	-DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H \
		-DHAVE_STRUCT_STATFS_F_FSTYPENAME

post-patch:
	@${REINPLACE_CMD} -e 's|macosx|FreeBSD|g' \
		${WRKSRC}/divers.c ${WRKSRC}/mountlist.c ${WRKSRC}/aide.c ${WRKSRC}/init.c

.include <bsd.port.mk>