mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
cb5c2cea50
PREFIX was being set in the Makefile PR: 13165 Reported by: Oleg V. Volkov <rover@fly.lglobus.ru> Fix the above problem by patching config.h to use __PREFIX_/__LOCALBASE__ where necessary and then sed s:__PREFIX__:${PREFIX}: etc. Remove the version number from PLIST, use a PLIST_SUB to make it easier to upgrade the port.
27 lines
633 B
Makefile
27 lines
633 B
Makefile
# New ports collection makefile for: tkgate
|
|
# Version required: 0.9
|
|
# Date created: 28 May 1999
|
|
# Whom: Jeffery Hansen <hansen@cmu.edu>
|
|
#
|
|
# $Id: Makefile,v 1.1.1.1 1999/06/06 17:11:58 steve Exp $
|
|
#
|
|
|
|
DISTNAME= tkgate-0.9
|
|
CATEGORIES= cad
|
|
MASTER_SITES= http://www.cs.cmu.edu/~hansen/tkgate/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= hansen@cmu.edu
|
|
|
|
LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80
|
|
|
|
VERSION= 0.9
|
|
PLIST_SUB+= VERSION=${VERSION}
|
|
USE_IMAKE= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/config.h
|
|
@${PERL} -pi -e 's:__LOCALBASE__:${LOCALBASE}:g' ${WRKSRC}/config.h
|
|
|
|
.include <bsd.port.mk>
|