mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
0f6a02a177
framework with MC68K support. Closes PR #2881. Submitted by: Dan Cross <tenser@spitfire.ecsel.psu.edu>
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection Makefile for: bsvc
|
|
# Version required: 2.0
|
|
# Date released: 03-Mar-1997
|
|
# Whom tenser
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
DISTNAME= bsvc-2.0
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ftp://ftp.ncsu.edu/pub/eos/pub/bsvc/distribution/
|
|
EXTRACT_SUFX= -src.tar.z
|
|
|
|
MAINTAINER= tenser@spitfire.ecsel.psu.edu
|
|
|
|
RUN_DEPENDS= wish4.1:${PORTSDIR}/x11/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
|
|
|
|
.include <bsd.port.mk>
|