summaryrefslogtreecommitdiff
path: root/misc/cheatah
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cheatah')
-rw-r--r--misc/cheatah/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/misc/cheatah/Makefile b/misc/cheatah/Makefile
index 8a7dfb7711f0..dbf911754e5e 100644
--- a/misc/cheatah/Makefile
+++ b/misc/cheatah/Makefile
@@ -6,18 +6,15 @@
#
PORTNAME= cheatah
-PORTVERSION= ${MAKE} -V PORTVERSION -f ${MAINDIR}/${MKFILE}
-PORTREVISION= ${MAKE} -V PORTREVISION -f ${MAINDIR}/${MKFILE}
-PORTEPOCH= ${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MKFILE}
+PORTVERSION= ${SWORD_PORTVERSION}
CATEGORIES= misc
-DISTFILES=
+MASTER_SITES= ${SWORD_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${SWORD_MASTER_SIZE_SUBDIR}
+DISTNAME= ${SWORD_DISTNAME}
MAINTAINER= wvengen@stack.nl
COMMENT= Temporary gtk GUI to the SWORD project
-BROKEN= "Does not build, will be removed after Feb 2"
-
-BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/misc/sword:extract
LIB_DEPENDS= sword.1:${PORTSDIR}/misc/sword
RUN_DEPENDS= ${LOCALBASE}/share/sword/mods.d:${PORTSDIR}/misc/sword-modules
@@ -25,13 +22,10 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk12
-MAINDIR= ${.CURDIR}/../sword
-MKFILE!= /usr/bin/basename ${MAKEFILE}
-PORTVERSION!= ${PORTVERSION}
-PORTREVISION!= ${PORTREVISION}
-PORTEPOCH!= ${PORTEPOCH}
PLIST_FILES= bin/cheatah
-WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/sword-${PORTVERSION}/apps/X11/cheatah
+WRKSRC= ${WRKDIR}/${DISTNAME}/apps/X11/cheatah
+
+.include "${.CURDIR}/../sword/Makefile.common"
post-patch:
@${CHMOD} a+x ${WRKSRC}/configure