aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pixelize/Makefile
blob: 10b5c5e04937090c4d90843cddc59cc6bd8ecba5 (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
# Created by: ijliao
# $FreeBSD$

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

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

LICENSE=    GPLv2

USES=       pkgconfig
USE_GNOME=  gtk20
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" ${WRKSRC}/Makefile

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

.include <bsd.port.mk>