freebsd-ports/emulators/xsystem35/Makefile

62 lines
1.8 KiB
Makefile
Raw Normal View History

# ports collection makefile for: AliceSoft System 3.5 on X
# Version required: 1.0.1
1998-11-19 17:06:41 +01:00
# Date created: 24 Oct 1998
1999-02-11 14:50:29 +01:00
# Whom: Seiichirou Hiraoka
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
DISTNAME= xsystem35-1.2.5-1
PKGNAME= xsystem35-1.2.5.1
CATEGORIES= emulators
1998-12-03 16:12:49 +01:00
MASTER_SITES= http://www.aist-nara.ac.jp/~masaki-c/private/unitbase/xsys35/down/
1999-12-05 00:22:10 +01:00
MAINTAINER= k5@cheerful.com
1999-12-05 00:22:10 +01:00
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
USE_IMAKE= YES
WRKSRC= ${WRKDIR}/${DISTNAME}/src
1999-12-05 00:22:10 +01:00
PKGMESSAGE= ${WRKSRC}/MESSAGE
DOC_FILES= BUGS ChangeLog FAQ GRFMT.TXT INSTALL MISCGAME.TXT README \
README.color README.joystick README.miko README.music \
README.pastel THANKS TODO
1999-12-05 00:22:10 +01:00
EXAMPLES= README.TXT ambi.inf atlach.inf dalk.inf darcrows.inf \
diabo.inf drstop.inf hushaby.inf katsumi.inf kichiku.inf \
mamatoto.inf mamori.inf miko.inf mugen.inf ningen.inf \
oudou.inf panyo.inf pascha.inf progood.inf rance1.inf \
rance2.inf rance3.inf rance4.inf toushin.inf toushin2.inf \
zero.inf
.include <bsd.port.pre.mk>
.if defined(WITH_ESOUND)
LIB_DEPENDS+= esd.2:${PORTSDIR}/audio/esound
.endif
1999-12-05 00:22:10 +01:00
pre-configure:
.if defined(WITH_ESOUND)
${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.orig
${SED} -e 43,43d -e 45,45d ${WRKSRC}/config.h.orig > ${WRKSRC}/config.h
.endif
1998-12-27 17:12:03 +01:00
do-install:
1999-12-05 00:22:10 +01:00
@${INSTALL_PROGRAM} ${WRKSRC}/xsystem35 ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/../contrib/instgame ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
1999-12-05 00:22:10 +01:00
@${MKDIR} ${PREFIX}/share/doc/ja/xsystem35
@(cd ${WRKSRC}/../doc;\
1998-12-27 17:12:03 +01:00
${INSTALL_MAN} ${DOC_FILES} ${PREFIX}/share/doc/ja/xsystem35)
1999-12-05 00:22:10 +01:00
@${MKDIR} ${PREFIX}/share/examples/xsystem35
@${INSTALL_DATA} ${WRKSRC}/xsys35rc.sample ${PREFIX}/share/examples/xsystem35
@(cd ${WRKSRC}/../contrib; \
1998-12-27 17:12:03 +01:00
${INSTALL_DATA} ${EXAMPLES} ${PREFIX}/share/examples/xsystem35)
1999-12-05 00:22:10 +01:00
@${SED} -e s,PREFIX,${PREFIX}, ${PKGDIR}/MESSAGE > ${WRKSRC}/MESSAGE
@${CAT} ${WRKSRC}/MESSAGE
.endif
.include <bsd.port.post.mk>