aboutsummaryrefslogblamecommitdiff
path: root/cad/gdt/Makefile
blob: d1c2c87a4e3435dd4af2266fc13c1ae5d0e9dc2a (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                     
                     


                                          
                                            







                                                      



                                                          






                                                                  
# New ports collection makefile for:	gdt
# Date created:				Sun, Apr 29 2007
# Whom:					Hiroki Sato <hrs@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gdt
PORTVERSION=	2.0.3
CATEGORIES=	cad
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gds2
DISTNAME=	${PORTNAME:U}-${PORTVERSION}

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	GDS2/GDT format translator

USE_PERL5_RUN=	yes
WRKSRC=		${WRKDIR}/${PORTNAME:U}-${PORTVERSION}
PLIST_FILES=	bin/gdsinfo bin/gds2gdt bin/gdt2gds

post-patch:
	${REINPLACE_CMD} 's,^#!/usr/bin/perl,#!${PERL},' \
		${WRKSRC}/Examples/gdsinfo

pre-build:
	${CP} ${FILESDIR}/Makefile ${WRKSRC}

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/Examples/gdsinfo ${PREFIX}/bin

.include <bsd.port.mk>