aboutsummaryrefslogtreecommitdiffstats
path: root/german/vtiger/Makefile
blob: 4894c44f109eeea5533dd75f6b0ce9f148bbb218 (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
35
36
37
38
# New ports collection makefile for:    german/vtiger
# Date created:             22 September  2007
# Whom:                 Aron Schlesinger <as@bsdgroup.de>
#
# $FreeBSD$

PORTNAME=   vtiger
DISTVERSION=    5.0.3-ga-release-fix-1
PORTREVISION=   2
CATEGORIES= german www
MASTER_SITES=   http://forge.vtiger.com/frs/download.php/322/ \
        http://people.bsdgroup.de/~as/freebsd/distfiles/vtiger/
DISTNAME=   de_de.lang

MAINTAINER= as@bsdgroup.de
COMMENT=    German messages for vtiger

WRKSRC=     ${WRKDIR}/German_de_de
WWWDIR?=    ${PREFIX}/www/${PORTNAME}

RUN_DEPENDS+=   ${WWWDIR}/include/language:${PORTSDIR}/www/vtiger

NO_BUILD=   YES
USE_ZIP=    YES

SUB_FILES=  pkg-message

do-install:
    @${FIND} ${WRKSRC} -type f -exec ${SH} -c '${INSTALL_DATA} -v {} \
    $$(${ECHO} {} | ${SED} -e "s,^${WRKSRC},${WWWDIR},")' \;

post-install:
    @${CAT} ${PKGMESSAGE}

create-plist:
    @${FIND} -s ${WRKSRC} -type f | ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}

.include <bsd.port.mk>