blob: 3d81106187b5d6845053290fcc836a413c50ccab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= gettext-tiny
PORTVERSION= 0.3.2
CATEGORIES= devel
MASTER_SITES= https://ftp.barfooze.de/pub/sabotage/tarballs/ \
http://ftp.barfooze.de/pub/sabotage/tarballs/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Replacements for tools typically used from the GNU gettext suite
WWW= https://github.com/sabotage-linux/gettext-tiny
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= tar:xz
TOOLS= msgfmt msgmerge
SCRIPTS= xgettext
PLIST_FILES= ${TOOLS:C,^,bin/tiny-,} \
${SCRIPTS:C,^,bin/tiny-,}
MAKE_ARGS= prefix=${PREFIX}
do-install:
.for t in ${TOOLS}
${INSTALL_PROGRAM} ${WRKSRC}/$t ${STAGEDIR}${PREFIX}/bin/tiny-$t
.endfor
.for s in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/$s ${STAGEDIR}${PREFIX}/bin/tiny-$s
.endfor
.include <bsd.port.mk>
|