1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/graphics/pixelize/Makefile
2003-04-20 19:54:55 +00:00

34 lines
821 B
Makefile

# 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
COMMENT= Use many scaled down images to try to duplicate another image
USE_REINPLACE= 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>