dae43d7a6d
USES=python Approved by: portmgr (implicit)
27 lines
515 B
Makefile
27 lines
515 B
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ydict
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Command line tool of Yahoo! Dict
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= python:2,run shebangfix
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_FILES= bin/ydict
|
|
|
|
SHEBANG_FILES= ${WRKSRC}/ydict
|
|
python_OLD_CMD= /usr/bin/env python
|
|
python_CMD= /usr/bin/env python2
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ydict ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|