1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/analog/Makefile
Michael Haro 9cbc171fcb use bsd.port.pre/post so that we have ${PREFIX} defined earlier, when it
is needed.

PR:		28177
Submitted by:	Takanori Saneto <sanewo@ba2.so-net.ne.jp>
2001-08-28 23:22:45 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: analog
# Date created: October 21st 1996
# Whom: jfitz
#
# $FreeBSD$
#
PORTNAME= analog
PORTVERSION= 5.03
CATEGORIES= www
MASTER_SITES= http://www.analog.cx/ \
http://www.monash.edu.au/mirror/analog/ \
http://analog.gsp.com/ \
http://analog.barringtons.com/ \
http://www.pomfret.net/mirror/analog/ \
http://analog.org/loganalysis/ \
http://www.skreamsoft.com/analogmirror/ \
http://sunsite.org.uk/packages/analog/ \
MAINTAINER= mharo@FreeBSD.org
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.4:${PORTSDIR}/graphics/png
MAN1= analog.1
ALL_TARGET= analog
.include <bsd.port.pre.mk>
do-install:
${MKDIR} ${PREFIX}/share/analog/lang
${MKDIR} ${PREFIX}/www/data/images
${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/www/data/images
${INSTALL_DATA} ${WRKSRC}/lang/* ${PREFIX}/share/analog/lang
${INSTALL_PROGRAM} ${WRKSRC}/analog ${PREFIX}/bin
.if !exists(${PREFIX}/etc/analog.cfg)
${INSTALL_DATA} ${WRKSRC}/analog.cfg ${PREFIX}/etc
.endif
${INSTALL_DATA} ${WRKSRC}/analog.cfg ${PREFIX}/etc/analog.cfg-dist
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/analog
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/analog
.endif
${INSTALL_MAN} ${WRKSRC}/analog.man ${PREFIX}/man/man1/analog.1
.include <bsd.port.post.mk>