summaryrefslogblamecommitdiff
path: root/graphics/gridpix/Makefile
blob: efeca74e247c97d2561f72b58ff8046f1c03488a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               


                                    
           

 

                       
                        

                                     
                                      


                                 
                                                                     











                                                                       
                             


                                                   
# New ports collection makefile for:	gridpix
# Date created:		19 July 1999
# Whom:			asami
#
# $FreeBSD$
#

PORTNAME=	gridpix
PORTVERSION=	2.1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	asami/GridPix
DISTNAME=	GridPix-${PORTVERSION}

MAINTAINER=	asami@FreeBSD.org

BUILD_DEPENDS=	${LOCALBASE}/lib/libpnm.a:${PORTSDIR}/graphics/netpbm
LIB_DEPENDS=	jpeg.9:${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>