aboutsummaryrefslogtreecommitdiff
path: root/devel/gettext-msghack/Makefile
blob: 1856beee6adcd05acef46155259d1bcf2d46f6fd (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
PORTNAME=	msghack
PORTVERSION=	0.21
CATEGORIES=	devel
MASTER_SITES=	LOCAL/sunpoet
PKGNAMEPREFIX=	gettext-

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Alter gettext po files in special ways
WWW=		https://src.fedoraproject.org/rpms/gettext/blob/master/f/msghack.py \
		https://src.fedoraproject.org/rpms/gettext/blob/master/f/msghack.1

LICENSE=	GPLv3+

USES=		python shebangfix tar:xz

NO_ARCH=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/msghack \
		share/man/man1/msghack.1.gz

SHEBANG_FILES=	msghack.py

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/msghack.py ${STAGEDIR}${PREFIX}/bin/msghack
	${INSTALL_MAN} ${WRKSRC}/msghack.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>