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

PORTNAME=   pixelize
PORTVERSION=    1.0.0
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   ftp://lashwhip.com/pub/ \
        http://www.c-s.li/ports/ \
        http://lashwhip.com/pixelize/
MASTER_SITE_SUBDIR= apps/graphics/misc

MAINTAINER= cs@FreeBSD.org
COMMENT=    Use many scaled down images to try to duplicate another image

LICENSE=    GPLv2
USE_GNOME=  gtk20 imlib
PLIST_FILES=    bin/make_db bin/pixelize

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>