1 # $NetBSD: Makefile,v 1.18 2010/01/18 09:58:54 wiz Exp $
4 DISTNAME= hugov31_unix_source
8 MASTER_SITES= ${MASTER_SITE_IFARCHIVE:=programming/hugo/source/}
9 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTFILE_WX}
11 MAINTAINER= dillo@NetBSD.org
12 HOMEPAGE= http://www.generalcoffee.com/hugo.html
13 COMMENT= Interactive fiction interpreter with sound and graphics support
15 DISTFILE_WX= hugov31_wxwin_source${EXTRACT_SUFX}
16 #EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
18 PKG_DESTDIR_SUPPORT= user-destdir
20 DIST_SUBDIR= hugo-3.1.02
23 WRKSRC= ${WRKDIR}/hugov3.1.02/hewx
25 # The gcc-2.95 Preprocessor chokes on DOS line-ends in macro continuations
26 SUBST_CLASSES+= dos_eol
27 SUBST_MESSAGE.dos_eol= Removing DOS line-ends
28 SUBST_STAGE.dos_eol= post-extract
29 SUBST_FILES.dos_eol= *.c *.cpp */*.c */*.cpp */*/*.c */*/*.cpp
30 SUBST_FILTER_CMD.dos_eol= ${TR} -d '\r'
32 INSTALLATION_DIRS= bin
34 .include "../../audio/libmikmod/buildlink3.mk"
35 .include "../../x11/wxGTK24/buildlink3.mk"
38 ${INSTALL_PROGRAM} ${WRKSRC}/hewx ${DESTDIR}${PREFIX}/bin
40 .include "../../mk/bsd.pkg.mk"