aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-10-29 07:32:20 +0800
committernemysis <nemysis@FreeBSD.org>2013-10-29 07:32:20 +0800
commitbfa8f29b324114b111ef718826b5d56bfb0fe65d (patch)
tree5ec326811f1f06471ee4a54fc00f0f437e36a6fc /games
parentfab00e7de244016a0f3e7b654e2e959d3c0879ee (diff)
downloadfreebsd-ports-graphics-bfa8f29b324114b111ef718826b5d56bfb0fe65d.tar.gz
freebsd-ports-graphics-bfa8f29b324114b111ef718826b5d56bfb0fe65d.tar.zst
freebsd-ports-graphics-bfa8f29b324114b111ef718826b5d56bfb0fe65d.zip
- Update to 1.13-1
- Fix DOCS and NLS Approved by: pawel / wg (mentors, implicit)
Diffstat (limited to 'games')
-rw-r--r--games/legend-of-edgar/Makefile13
-rw-r--r--games/legend-of-edgar/distinfo4
2 files changed, 14 insertions, 3 deletions
diff --git a/games/legend-of-edgar/Makefile b/games/legend-of-edgar/Makefile
index 5818e00186e..2828e65b95b 100644
--- a/games/legend-of-edgar/Makefile
+++ b/games/legend-of-edgar/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= edgar
-DISTVERSION= 1.12-1
+DISTVERSION= 1.13-1
CATEGORIES= games
MASTER_SITES= SF/legendof${PORTNAME}/${PORTVERSION:R}/
PKGNAMEPREFIX= legend-of-
@@ -47,6 +47,17 @@ post-patch:
@${REINPLACE_CMD} -e 's|self->dirY =- 13|self->dirY -= 13|g' \
${WRKSRC}/src/boss/golem_boss.c
+.if ! ${PORT_OPTIONS:MDOCS}
+ @${REINPLACE_CMD} -i '' -e '/mkdir -p $$(DOC_DIR)/d' \
+ -i '' -e '/cp $$(DOCS) $$(DOC_DIR)/d' \
+ ${WRKSRC}/makefile
+.endif
+
+.if ! ${PORT_OPTIONS:MNLS}
+ @${REINPLACE_CMD} -e 's|^LOCALE_MO =.*|LOCALE_MO =|' \
+ ${WRKSRC}/makefile
+.endif
+
post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
diff --git a/games/legend-of-edgar/distinfo b/games/legend-of-edgar/distinfo
index 8032239ea35..43fd9cf6c2a 100644
--- a/games/legend-of-edgar/distinfo
+++ b/games/legend-of-edgar/distinfo
@@ -1,2 +1,2 @@
-SHA256 (edgar-1.12-1.tar.gz) = 0be4c25b6917313062a10f7dec8781d5b6d0f56db07cee14018731cb1dce8d58
-SIZE (edgar-1.12-1.tar.gz) = 90802761
+SHA256 (edgar-1.13-1.tar.gz) = cd562fae23a7d2eb3f7a37fc9f94190371a953945d35c3d870545e4a163a6ed8
+SIZE (edgar-1.13-1.tar.gz) = 90806985