aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/etoile-scriptservices/Makefile
blob: 827bc52bb2719712bd522841e8f876839987de10 (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
39
40
41
42
43
# New ports collection makefile for:    etoile-scriptservices
# Date created:         26 Nov 2008
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   scriptservices
PORTVERSION=    0.4.1
CATEGORIES= deskutils gnustep
MASTER_SITES=   http://download.gna.org/etoile/
PKGNAMEPREFIX=  etoile-
DISTNAME=   etoile-${PORTVERSION}

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    Etoile Project ScriptServices

USE_BZIP2=  yes
USE_GNUSTEP=    yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_BACK=   yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes
USE_GNUSTEP_LOCAL_LIBS+=    EtoileFoundation:${FOUNDATION_PORT}
USE_GNUSTEP_LOCAL_LIBS+=    LanguageKit:${LANGUAGEKIT_PORT}
USE_GNUSTEP_LOCAL_LIBS+=    SmalltalkSupport:${SMALLTALKKIT_PORT}

WRKSRC= ${WRKDIR}/Etoile-${PORTVERSION}
USE_GNUSTEP_MAKE_DIRS+= Services/Private/ScriptServices
MORE_SRC=   ${WRKSRC}/Services/Private/ScriptServices/Examples
MORE_DEST=  ${GNUSTEP_PREFIX}/Local/Applications/ScriptServices.app/Resources/Scripts/
EXAMPLE=    Current_Time_.sh Open_in_Wikipedia.sh \
        Open_in_Wiktionary.sh today.sh

FOUNDATION_PORT?=   devel/etoile-foundation
LANGUAGEKIT_PORT?=  lang/etoile-languagekit
SMALLTALKKIT_PORT?= lang/etoile-smalltalkkit

post-install:
    cd ${MORE_SRC} && ${INSTALL_DATA} today.plist ${MORE_DEST}
    cd ${MORE_SRC} && ${INSTALL_SCRIPT} ${EXAMPLE} ${MORE_DEST}

.include <bsd.port.mk>