summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-02-13 20:55:35 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-02-13 20:55:35 +0000
commita71740ad30364e185aae973262e2909c66461295 (patch)
tree7121fa91e6d2e22b6818127541f7acdc60924ac0 /emulators
parentSymlink vulnerability: http://www.securityfocus.com/archive/1/352333 (diff)
Fix up problems with install.
PR: ports/62501 Submitted by: arundel@gmx.net (maintainer)
Notes
Notes: svn path=/head/; revision=100876
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux-geepee32/Makefile20
-rw-r--r--emulators/linux-geepee32/scripts/geepee32.sh5
2 files changed, 13 insertions, 12 deletions
diff --git a/emulators/linux-geepee32/Makefile b/emulators/linux-geepee32/Makefile
index 80553ddc0ac3..6dad67264c89 100644
--- a/emulators/linux-geepee32/Makefile
+++ b/emulators/linux-geepee32/Makefile
@@ -6,6 +6,7 @@
PORTNAME= geepee32
PORTVERSION= 30
+PORTREVISION= 1
CATEGORIES= emulators linux
MASTER_SITES= http://users.skynet.be/firefly/gp32/project/geepee32/
PKGNAMEPREFIX= linux-
@@ -21,23 +22,18 @@ USE_LINUX= yes
USE_XLIB= yes
USE_ZIP= yes
NO_WRKSUBDIR= yes
+NO_BUILD= yes
-TARGET_DIR= ${PREFIX}/geepee32
-
-STRIP=
-PROG_FILES= ${WRKDIR}/geepee32
-DATA_FILES= ${FILESDIR}/geepee32.sh
-
-do-build:
+TARGET_DIR= ${PREFIX}/${PORTNAME}
do-install:
- ${INSTALL} -d -m 777 ${TARGET_DIR} && \
- ${INSTALL_PROGRAM} ${PROG_FILES} ${TARGET_DIR} && \
- ${INSTALL_SCRIPT} ${DATA_FILES} ${TARGET_DIR}
+ ${INSTALL} -d -m 777 ${TARGET_DIR}
+ ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${TARGET_DIR}
+ ${INSTALL_SCRIPT} ${SCRIPTDIR}/${PORTNAME}.sh ${TARGET_DIR}
post-install:
- ${TOUCH} ${TARGET_DIR}/iic.bin && \
- ${LN} -s ${TARGET_DIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
+ @${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 dump."
@${ECHO_MSG} ""
diff --git a/emulators/linux-geepee32/scripts/geepee32.sh b/emulators/linux-geepee32/scripts/geepee32.sh
new file mode 100644
index 000000000000..ae5bbf6caa4f
--- /dev/null
+++ b/emulators/linux-geepee32/scripts/geepee32.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Needed to make symlinks/shortcuts work.
+# Wrap geepee32 binary
+./geepee32 $*
+exit $?