mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
ffb74fea62
Approved by: Thomas 'Freaky' Hurst <tom@hur.st> (maintainer timeout, since Jul 24)
37 lines
842 B
Makefile
37 lines
842 B
Makefile
# New ports collection makefile for: optipng
|
|
# Date created: 09 July 2003
|
|
# Whom: Thomas Hurst <freaky@aagh.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= optipng
|
|
PORTVERSION= 0.5.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= freaky@aagh.net
|
|
COMMENT= An optimizer for PNG files
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
MAKEFILE= scripts/unix-secure.mak
|
|
ALL_TARGET= ${PORTNAME}
|
|
PLIST_FILES= bin/optipng
|
|
MAN1= optipng.1
|
|
PORTDOCS= CAVEAT.txt HISTORY.txt TODO.txt USAGE.txt \
|
|
design.html features.html guide.html thanks.html
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/optipng ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/man/optipng.1 ${MAN1PREFIX}/man/man1/
|
|
|
|
post-install:
|
|
.ifndef NOPORTDOCS
|
|
${INSTALL} -d ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|