aboutsummaryrefslogtreecommitdiffstats
path: root/misc/translate/Makefile
blob: f3742643dcb6ddc7a0a51f0e1b49d3286cbe2c62 (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
# Created by: Michael L. Hostbaek (mich@freebsdcluster.org)
# $FreeBSD$

PORTNAME=   translate
PORTVERSION=    1.20
CATEGORIES= misc perl5
MASTER_SITES=   http://www.freebsdcluster.org/~mich/software/

MAINTAINER= mich@FreeBSD.org
COMMENT=    Translates string using Google Translate

RUN_DEPENDS=    p5-libwww>=0:www/p5-libwww

USES=       perl5 shebangfix
NO_BUILD=   yes

WRKSRC=     ${WRKDIR}/${PORTNAME}

PLIST_FILES=    bin/translate man/man1/translate.1.gz
SHEBANG_FILES=  translate

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>