1 # Created by: Vitaly Magerya <vmagerya@gmail.com>
7 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
9 MAINTAINER= vmagerya@gmail.com
10 COMMENT= Simple Unicode-aware console-based word processor
14 RUN_DEPENDS= ${LUA_MODLIBDIR}/lfs.so:${PORTSDIR}/devel/luafilesystem
16 USES= lua:52 tar:bzip2 gmake
18 PLIST_FILES= bin/wordgrinder \
19 share/doc/wordgrinder/README.wg \
20 man/man1/wordgrinder.1.gz
25 -e '/cc := gcc/s|gcc|${CC}|' \
26 -e '/LUA_INCLUDE := /s|= .*|= ${LUA_INCDIR}|' \
27 -e '/ldflags := /s|=|= -L${LUA_LIBDIR}|' \
28 -e 's|-llua5.2|-llua-${LUA_VER}|' \
29 -e 's|$$(hide)lua|$$(hide)${LUA_CMD}|' \
31 -e '/install /s|$$(PRE|$$(DESTDIR)$$(PRE|' \
32 -e '/install /s|-D||' \
33 -e '/install /s|share/man/man1|man/man1|' \
37 ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/wordgrinder
40 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wordgrinder
42 .include <bsd.port.mk>