aboutsummaryrefslogblamecommitdiff
path: root/graphics/pngrewrite/Makefile
blob: 2a8366f3be897a8323bfa048474328ee827839d9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
           

                          
                     
                 

                                                          
                                                     
 
                                   
                                     
 

                    
                                      
 
                             
 




                              


                                                                      

           
                                                                         

                      
# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$

PORTNAME=	pngrewrite
PORTVERSION=	1.4.0
PORTREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	http://entropymine.com/jason/pngrewrite/ \
		http://mirror.roe.ch/dist/pngrewrite/

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	PNG palette optimizer

LICENSE=	ZLIB

LIB_DEPENDS=	libpng.so:graphics/png

USES=		localbase zip

NO_WRKSUBDIR=	yes

PLIST_FILES=	bin/pngrewrite

do-build:
	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -lm -lpng -lz \
		${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c \
		-o ${WRKSRC}/pngrewrite

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

.include <bsd.port.mk>