Correct MASTER_SITES, add pre-configure and install targets.

Reviewed by:	hsu (Jeffrey Hsu)
This commit is contained in:
Stefan Eßer 1995-10-07 00:25:10 +00:00
parent 291b3d2c52
commit 5db219d703
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2290
2 changed files with 38 additions and 16 deletions

View File

@ -1,28 +1,39 @@
# New ports collection makefile for: wine
# Version required: 951003
# Date created: Sun Feb 5 16:12:09 1995
# Whom: hsu
# Date created: Fri Oct 6 23:43:28 MET 1995
# Whom: se
#
# $Id: Makefile,v 1.9 1995/07/13 01:13:20 asami Exp $
# $Id: Makefile,v 1.10 1995/10/05 20:50:32 hsu Exp $
#
DATE= 951003
DISTNAME= Wine-${DATE}
PKGNAME= Wine-95.10.03
CATEGORIES+= emulation x11
MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/ALPHA/wine/ \
MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/ALPHA/wine/ \
ftp://aris.com/pub/linux/ALPHA/Wine/development/ \
ftp://tsx-11.mit.edu/pub/linux/ALPHA/Wine/development/ \
ftp://ftp.funet.fi/pub/OS/Linux/ALPHA/Wine/ \
ftp://ftp.wonderland.org/Wine/
ftp://ftp.infomagic.com/pub/mirrors/linux/wine/development/
MAINTAINER= ports@FreeBSD.ORG
MAINTAINER= se@FreeBSD.ORG
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
WRKSRC= ${WRKDIR}/wine${DATE}
GNU_CONFIGURE= yes
# wine doesn't come w/ an install rule
NO_INSTALL= yes
pre-configure:
@echo "WINE_INI_GLOBAL \"${PREFIX}/etc/wine.conf\"" \
>> ${WRKSRC}/autoconf.h
install:
install -cs ${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}/Wine.man ${PREFIX}/man/man1/wine.1
gzip -9f ${PREFIX}/man/man1/wine.1
.include <bsd.port.mk>

View File

@ -1,28 +1,39 @@
# New ports collection makefile for: wine
# Version required: 951003
# Date created: Sun Feb 5 16:12:09 1995
# Whom: hsu
# Date created: Fri Oct 6 23:43:28 MET 1995
# Whom: se
#
# $Id: Makefile,v 1.9 1995/07/13 01:13:20 asami Exp $
# $Id: Makefile,v 1.10 1995/10/05 20:50:32 hsu Exp $
#
DATE= 951003
DISTNAME= Wine-${DATE}
PKGNAME= Wine-95.10.03
CATEGORIES+= emulation x11
MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/ALPHA/wine/ \
MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/ALPHA/wine/ \
ftp://aris.com/pub/linux/ALPHA/Wine/development/ \
ftp://tsx-11.mit.edu/pub/linux/ALPHA/Wine/development/ \
ftp://ftp.funet.fi/pub/OS/Linux/ALPHA/Wine/ \
ftp://ftp.wonderland.org/Wine/
ftp://ftp.infomagic.com/pub/mirrors/linux/wine/development/
MAINTAINER= ports@FreeBSD.ORG
MAINTAINER= se@FreeBSD.ORG
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
WRKSRC= ${WRKDIR}/wine${DATE}
GNU_CONFIGURE= yes
# wine doesn't come w/ an install rule
NO_INSTALL= yes
pre-configure:
@echo "WINE_INI_GLOBAL \"${PREFIX}/etc/wine.conf\"" \
>> ${WRKSRC}/autoconf.h
install:
install -cs ${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}/Wine.man ${PREFIX}/man/man1/wine.1
gzip -9f ${PREFIX}/man/man1/wine.1
.include <bsd.port.mk>