1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/emulators/twin/Makefile

69 lines
1.5 KiB
Makefile

# New ports collection makefile for: Willows
# Date created: 5 June 1999
# Whom: Pedro F. Giffuni
#
# $FreeBSD$
#
PORTNAME= twin
PORTVERSION= 3.1.14
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= emulators devel
MASTER_SITES= ${MASTER_SITE_NETBSD} \
ftp://ftp.willows.com/pub/twin/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Willows Toolkit for migrating and developing Windows applications
ONLY_FOR_ARCHS= i386 alpha powerpc
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_XLIB= yes
USE_AUTOTOOLS= autoconf:213
GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= depend world
PLIST_SUB= LIBVER="${LIBVER}"
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha"
CONFIGURE_ARGS+= --disable-intp
.endif
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
LIBRARIES= libadvapi32.so libcomctl32.so libcomm.so \
libcommdlg.so libddeml.so libkeyboard.so \
liblzexpand.so libmmsystem.so libmsvcrt.so \
libolecli.so libolesvr.so libpe32.so \
libshell.so libsound.so libsystem.so \
libtoolhelp.so libtwin32.so libversion.so \
libw32sys.so libwin87em.so libwinsock.so \
libwinspool.so
LIBVER= 0
post-configure:
@${REINPLACE_CMD} 's|bison -y|yacc|' ${WRKSRC}/Make.rules # dirty
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/documentation/* ${DOCSDIR}
.endif
# version these libraries to make ldconfig happy
.for lib in ${LIBRARIES}
@${LN} -sf ${lib} ${PREFIX}/lib/${lib}.${LIBVER}
.endfor
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>