aboutsummaryrefslogtreecommitdiffstats
path: root/misc/cs/Makefile
blob: 3352b0f364add47ffd9d88ceb99ab91a3fa3a1f0 (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
32
33
34
# ex:ts=8
# Ports collection makefile for:    cs
# Date created:         Jun 30, 2005
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cs
PORTVERSION=    0.9.5
PORTREVISION=   2
CATEGORIES= misc
MASTER_SITES=   http://njhurst.org/programming/cross-stitch/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= pav
EXTRACT_SUFX=   .tgz

MAINTAINER= pav@FreeBSD.org
COMMENT=    Cross Stitch software

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging

USE_PYTHON= yes
NO_BUILD=   yes

PLIST_FILES=    bin/xs

post-patch:
    @${REINPLACE_CMD} -e "s,/usr/bin/python,${SETENV} python," ${WRKSRC}/xs.py

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/xs.py ${PREFIX}/bin/xs

.include <bsd.port.mk>