freebsd-ports/emulators/linux-geepee32/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: geepee32
# Date Created: 05 October 2003
# Whom: <arundel@gmx.net>
#
# $FreeBSD$
PORTNAME= geepee32
PORTVERSION= 30
PORTREVISION= 3
CATEGORIES= emulators linux
MASTER_SITES= http://users.skynet.be/firefly/gp32/project/geepee32/
PKGNAMEPREFIX= linux-
DISTNAME= ${PORTNAME}_linux_sdl_${PORTVERSION}
MAINTAINER= arundel@h3c.de
COMMENT= The only GP32 emulator for i386
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
USE_LINUX_APPS= sdl12 xorglibs
USE_ZIP= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
REINPLACE_ARGS=
TARGET_DIR= ${PREFIX}/${PORTNAME}
post-patch:
${REINPLACE_CMD}-e 's|%%GEEPEE32DIR%%|${PREFIX}/${PORTNAME}|' ${SCRIPTDIR}/wrapper.sh > \
${WRKDIR}/wrapper.sh
do-install:
${INSTALL} -d -m 777 ${TARGET_DIR}
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${TARGET_DIR}
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${TARGET_DIR}/${PORTNAME}.sh
post-install:
@${TOUCH} ${TARGET_DIR}/iic.bin
@${LN} -s ${TARGET_DIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
@${ECHO_MSG} ""
@${ECHO_MSG} "Please don't mail us with requests for ROM dumps."
@${ECHO_MSG} ""
.include <bsd.port.mk>