1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/emulators/vice/Makefile
Dirk Meyer 876ad9821e - New option VICE_WITH_GNOME
- USE_GNOMENG
- Drop dynamic detection
- Make portlint happer
2003-01-04 20:40:18 +00:00

66 lines
1.3 KiB
Makefile

# New ports collection makefile for: vice
# Date created: Mar 28, 1998
# Whom: dchapes@ddm.on.ca
#
# $FreeBSD$
PORTNAME= vice
PORTVERSION= 1.10
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/
.if defined(VICE_WITH_GNOME)
PKGNAMESUFFIX= -gnome
.endif
MAINTAINER= dinoex@FreeBSD.org
.if !defined(VICE_WITH_GNOME)
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
.endif
RESTRICTED= ROMs are copyrighted by Commodore Business Machines
NO_CDROM= ${RESTRICTED}
NO_PACKAGE= ${RESTRICTED}
USE_XPM= yes
GNU_CONFIGURE= yes
.if defined(VICE_WITH_GNOME)
USE_GNOMENG= yes
USE_GNOME= gnomelibs
CONFIGURE_ARGS= --enable-gnomeui
.else
CONFIGURE_ARGS= --with-xaw3d
.endif
MAN1= vice.1 c1541.1 petcat.1
MLINKS= vice.1 x64.1 \
vice.1 x128.1 \
vice.1 xvic.1 \
vice.1 xpet.1 \
vice.1 xplus4.1 \
vice.1 xcbm2.1
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
.endif
post-extract:
@${RM} -f ${WRKSRC}/doc/vice.info*
post-patch:
@${MV} ${WRKSRC}/man/vice.1 ${WRKSRC}/man/vice.1.sed
${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
${WRKSRC}/man/vice.1.sed > ${WRKSRC}/man/vice.1
pre-install:
@${MKDIR} ${DOCSDIR}/images ${DOCSDIR}/plain
post-install:
@${LN} -sf vice_toc.html ${DOCSDIR}/index.html
.include <bsd.port.post.mk>