aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/optipng/Makefile
blob: 2e640e1d23d5ec5e78ae153e62fe652201062c27 (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
# New ports collection makefile for:    optipng
# Date created:             09 July 2003
# Whom:                 Thomas Hurst <freaky@aagh.net>
#
# $FreeBSD$
#

PORTNAME=   optipng
PORTVERSION=    0.4.3
CATEGORIES= graphics
MASTER_SITES=   http://www.cs.toronto.edu/~cosmin/pngtech/optipng/

MAINTAINER= freaky@aagh.net
COMMENT=    An optimizer for PNG files

BUILD_WRKSRC=   ${WRKSRC}/src
MAKEFILE=   scripts/Makefile.gcc

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/optipng ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}

.for i in CAVEAT DESIGN FEATURES HISTORY LICENSE README TODO USAGE index.html
    ${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>