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

52 lines
998 B
Makefile

# New ports collection makefile for: gxemul
# Date created: 15 May 2005
# Whom: Janni
#
# $FreeBSD$
#
PORTNAME= gxemul
PORTVERSION= 0.4.6.2
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://gavare.se/gxemul/src/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jkoshy
MAINTAINER= ports@FreeBSD.org
COMMENT= Instruction-level machine emulator
HAS_CONFIGURE= yes
ALL_TARGET= build
PLIST_FILES= bin/gxemul
MAN1= gxemul.1
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
OPTIONS= X11 "X11 support" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+=--disable-x
.else
USE_XORG= x11
.endif
post-patch:
@${REINPLACE_CMD} -Ee \
's|/usr/X11R6|${LOCALBASE}|g; s|-O[0-9]?||g; s|-f[a-zA-Z-]+||g' \
${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.post.mk>