freebsd-ports/emulators/dtcyber/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

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: dtcyber
# Date created: 2006-09-03
# Whom: trasz <trasz@pin.if.uz.zgora.pl>
#
# $FreeBSD$
#
PORTNAME= dtcyber
PORTVERSION= 2.0b1
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://members.iinet.net.au/~tom-hunter/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trasz
DISTNAME= dtcyber20b1
MAINTAINER= trasz@FreeBSD.org
COMMENT= Desktop CYBER Emulator
USE_ZIP= yes
USE_XORG= x11
USE_DOS2UNIX= yes
NO_WRKSUBDIR= yes
INSTALL_TARGET=
MAKEFILE= Makefile.x11
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_FILES= bin/dtcyber %%EXAMPLESDIR%%/cyber.ini %%EXAMPLESDIR%%/cos.tap
PLIST_DIRS= %%EXAMPLESDIR%%
pre-patch:
${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.x11
${REINPLACE_CMD} -e 's|CFLAGS = -O2|CFLAGS+= |' ${WRKSRC}/Makefile.x11
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|' ${WRKSRC}/Makefile.x11
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dtcyber ${PREFIX}/bin
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/cyber.ini ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/Os/cos.tap ${EXAMPLESDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>