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

PORTNAME=	pixelize
PORTVERSION=	0.9.2
PORTREVISION=	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
COMMENT=	Use many scaled down images to try to duplicate another image

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>
OpenPOWER on IntegriCloud