1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/emulators/twin/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

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= 4
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_XORG= x11
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>