blob: 9055a71b9472631848de001eee7662efac058a3b (
plain) (
blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection Makefile for: bsvc
# Version required: 2.0
# Date created: 03-Mar-1997
# Whom: tenser
#
# $Id: Makefile,v 1.6 1998/04/05 07:30:56 asami Exp $
#
DISTNAME= bsvc-2.0
CATEGORIES= emulators tk41
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/emulators
EXTRACT_SUFX= -src.tar.z
MAINTAINER= tenser@spitfire.ecsel.psu.edu
RUN_DEPENDS= wish4.1:${PORTSDIR}/x11-toolkits/tk41
WRKSRC= ${WRKDIR}/${DISTNAME}/src
WISH= wish4.1
pre-patch:
@awk ' \
{ \
if (/PROJECT_BASE/ && /AWK_CHANGE_ME/) { \
print "! PROJECT_BASE='"${WRKDIR}/${DISTNAME}"'" \
} else if (/INSTALL_DIR/ && /AWK_CHANGE_ME/) { \
print "! INSTALL_DIR='"${PREFIX}/bin"'" \
} else if (/LIB_DIR/ && /AWK_CHANGE_ME/) { \
print "! LIB_DIR ='"${PREFIX}/lib/bsvc"'" \
} else if (/WISH/ && /AWK_CHANGE_ME/) { \
print "! WISH='"${WISH}"'" \
} else { \
print \
} \
}' < ${FILESDIR}/patch-aa.in > ${PATCHDIR}/patch-aa
@awk ' \
{ \
if (/^## Makefile/) { \
print "## Makefile.FreeBSD - System Dependent Makefile for FreeBSD" \
} else { \
print \
} \
}' < ${WRKSRC}/Makefile.ULTRIX > ${WRKSRC}/Makefile
pre-clean:
${RM} -f ${PATCHDIR}/patch-aa
.include <bsd.port.mk>
|