aboutsummaryrefslogtreecommitdiff
path: root/graphics/pixelize/Makefile
blob: 0116a8f7e3e8607a37cc3064bf79cf79938b1f20 (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
# ex:ts=8
# Ports collection makefile for:	pixelize
# Date created:			Oct 20, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	pixelize
PORTVERSION=	0.9.2
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SUNSITE} \
		ftp://lashwhip.com/pub/ \
		http://lashwhip.com/pixelize/
MASTER_SITE_SUBDIR=	apps/graphics/misc

MAINTAINER=	ports@FreeBSD.org

USE_REINPLACE=	yes
USE_GNOMENG=	yes
USE_GNOME=	gtk12 imlib
IMLIB_CONFIG=	${X11BASE}/bin/imlib-config

post-patch:
	@${REINPLACE_CMD} -e "s|^CC|#CC|" -e "s|CFLAGS = -g|CFLAGS+= |" \
		-e "s|gtk-config|${GTK_CONFIG}|g" \
		-e "s|imlib-config|${IMLIB_CONFIG}|g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/make_db ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/pixelize ${PREFIX}/bin

.include <bsd.port.mk>