1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/cad/gdt/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

32 lines
734 B
Makefile

PORTNAME= gdt
PORTVERSION= 4.0.4
CATEGORIES= cad
MASTER_SITES= SF/gds2
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= GDS2/GDT format translator
LICENSE= GPLv2
USES= shebangfix perl5
USE_PERL5= run
SHEBANG_FILES= Examples/gdsinfo Examples/scalegds
WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${PORTVERSION}
PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds bin/scalegds
post-patch:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/Examples/gdsinfo ${WRKSRC}/Examples/scalegds
pre-build:
${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
${INSTALL_SCRIPT} \
${WRKSRC}/Examples/gdsinfo \
${WRKSRC}/Examples/scalegds \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>