0f586ee124
- Support LOCALBASE properly PR: 19220 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> (aka Ports Fury ;)
34 lines
736 B
Makefile
34 lines
736 B
Makefile
# New ports collection makefile for: merlin
|
|
# Date created: 12 August 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= merlin
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www-dse.doc.ic.ac.uk/~np2/software/download/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
post-patch:
|
|
@${SED} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \
|
|
${WRKSRC}/merlin.tcl > ${WRKSRC}/merlin
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/merlin ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/merlin
|
|
${INSTALL_DATA} ${WRKSRC}/merlin.README.txt ${PREFIX}/share/doc/merlin/README
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|