1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/cad/gdt/Makefile

37 lines
800 B
Makefile
Raw Normal View History

# New ports collection makefile for: gdt
# Date created: Sun, Apr 29 2007
# Whom: Hiroki Sato <hrs@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gdt
2008-08-22 15:16:55 +00:00
PORTVERSION= 3.0.2
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gds2
2008-01-06 09:55:14 +00:00
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= GDS2/GDT format translator
USE_PERL5_RUN= yes
WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION}
2008-08-22 15:16:55 +00:00
PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds bin/scalegds
2008-01-06 09:55:14 +00:00
post-patch:
${REINPLACE_CMD} 's,^#!/usr/bin/perl,#!${PERL},' \
2008-08-22 15:16:55 +00:00
${WRKSRC}/Examples/gdsinfo \
${WRKSRC}/Examples/scalegds
2008-01-06 09:55:14 +00:00
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
2008-08-22 15:16:55 +00:00
${INSTALL_SCRIPT} \
${WRKSRC}/Examples/gdsinfo \
${WRKSRC}/Examples/scalegds \
${PREFIX}/bin
.include <bsd.port.mk>