openbsd-ports/emulators/wine/Makefile

43 lines
1018 B
Makefile
Raw Normal View History

1997-11-30 03:31:06 -05:00
# New ports collection makefile for: wine
# Version required: 971116
# Date created: 17 Nov 1997
# Whom: todd@OpenBSD.org
#
1998-07-06 02:15:38 -04:00
DATE= 980628
1997-11-30 03:31:06 -05:00
DISTNAME= Wine-${DATE}
1998-07-06 02:15:38 -04:00
PKGNAME= wine-98.06.28
1997-11-30 03:31:06 -05:00
CATEGORIES= emulators x11
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= ALPHA/wine/development
ONLY_FOR_ARCHS= i386
MAINTAINER= todd@OpenBSD.ORG
OS_RELEASE!= uname -r
OS_HAS_XPM= 2.3
.if ( ${OS_RELEASE} < ${OS_HAS_XPM} )
1997-11-30 03:31:06 -05:00
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
.endif
1997-11-30 03:31:06 -05:00
1998-07-06 02:15:38 -04:00
WRKSRC= ${WRKDIR}/wine-${DATE}
1997-11-30 03:31:06 -05:00
GNU_CONFIGURE= yes
MAN1= wine.1
pre-configure:
@${ECHO} "WINE_INI_GLOBAL \"${PREFIX}/etc/wine.conf\"" \
>> ${WRKSRC}/autoconf.h
post-configure:
cd ${WRKSRC} && make depend
do-install:
${INSTALL} -c ${WRKSRC}/wine ${PREFIX}/bin
-@${MKDIR} ${PREFIX}/etc 2>/dev/null
[ -f ${PREFIX}/etc/wine.conf ] \
|| ${CP} ${WRKSRC}/wine.ini ${PREFIX}/etc/wine.conf
${CP} ${WRKSRC}/wine.sym ${PREFIX}/etc
${CP} ${WRKSRC}/documentation/wine.man ${PREFIX}/man/man1/wine.1
.include <bsd.port.mk>