mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
33 lines
804 B
Makefile
33 lines
804 B
Makefile
# Created by: Mikhail Teterin
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gpctool
|
|
PORTVERSION= 1.0.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= x11 math graphics
|
|
MASTER_SITES= ftp://ftp.cs.man.ac.uk/pub/toby/gpc/
|
|
DISTNAME= gpct${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= Evaluation tool for the Generic Polygon Clipper library
|
|
|
|
LIB_DEPENDS= libgpc.so:${PORTSDIR}/devel/libgpc \
|
|
libformsGL.so:${PORTSDIR}/x11-toolkits/xforms
|
|
|
|
USES= zip:infozip uidfix
|
|
USE_GL= yes
|
|
PLIST_FILES= bin/gpctool
|
|
USE_LDCONFIG= yes
|
|
NO_CDROM= Can't be used for profit without permission
|
|
|
|
MAKEFILE= ${FILESDIR}/BSDmakefile
|
|
|
|
EXTRACT_BEFORE_ARGS=-qoa
|
|
EXTRACT_AFTER_ARGS=-d ${WRKDIR} -x ${DISTNAME}/gpc.? ${DISTNAME}/gl.c
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|FALSE|false|g' \
|
|
${WRKSRC}/callbacks.c ${WRKSRC}/graphics.c
|
|
|
|
.include <bsd.port.mk>
|