aboutsummaryrefslogtreecommitdiff
path: root/graphics/gridpix/Makefile
blob: 8b5f6be94c8cc748b4d8f442a207c8b1c2e3e954 (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
32
33
34
35
# New ports collection makefile for:	gridpix
# Date created:		19 July 1999
# Whom:			asami
#
# $FreeBSD$
#

PORTNAME=	gridpix
PORTVERSION=	2.1
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	pgollucci
DISTNAME=	GridPix-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Present large images efficiently over the Internet

BUILD_DEPENDS=	${LOCALBASE}/lib/libnetpbm.a:${PORTSDIR}/graphics/netpbm
LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg

# create necessary directories -- don't want to depend on an http
# server port since we don't know which one the user wants
pre-install:
	${MKDIR} ${PREFIX}/www/cgi-bin ${PREFIX}/www/data/gridpix/docs

post-install:
	${MKDIR} ${PREFIX}/share/doc/gridpix
	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/gridpix
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gridpix
	@${ECHO} "================================"
	@${CAT} ${PKGMESSAGE}
	@${ECHO} "================================"

.include <bsd.port.mk>