blob: 76966ae9e5fbbc42a5713255dfa1b37d5ca2a504 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: xeartk
# Date created: 26 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xeartk
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= astro tk84
MASTER_SITES= SF
MASTER_SITE_SUBDIR= tkgeomap
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Small demo for tkgeomap
LIB_DEPENDS= tkgeomap.0:${PORTSDIR}/astro/tkgeomap
USE_XLIB= yes
USE_TK_RUN= yes
NO_BUILD= yes
DATA_FILES= README cities land.xdr rivers.xdr water.xdr
PLIST_FILES= bin/${PORTNAME} ${DATA_FILES:S,^,%%DATADIR%%/,}
PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's,data/,${DATADIR}/,g;s,wish,${WISH},' ${WRKSRC}/src/XEartk.tcl
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/src/XEartk.tcl ${PREFIX}/bin/${PORTNAME}
@${INSTALL} -d ${DATADIR}
@${INSTALL_DATA} ${DATA_FILES:S,^,${WRKSRC}/data/,} ${DATADIR}/
.include <bsd.port.mk>
|