aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/preferences.app/Makefile
blob: 4cbe049c805066433d777b5f928741fbf577a0f1 (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
# New ports collection makefile for:   preferences
# Date created:         04 Feb 2003
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   preferences
PORTVERSION=    1.2.0
PORTREVISION=   3
CATEGORIES= deskutils gnustep
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= prefsapp
DISTNAME=   Preferences-${PORTVERSION}

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    GNUstep workspace manager

USE_BZIP2=  yes
USE_GNUSTEP=    yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_BACK=   yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes
USE_GNUSTEP_LDCONFIG=   ${GNUSTEP_SYSTEM_LIBRARIES}

DEAFULT_LIBVERSION= 1.1.1
MAKE_ENV+=  GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
MODIFY=     GNUmakefile.preamble PrefsModule/GNUmakefile.preamble \
        Modules/Keyboard/GNUmakefile.preamble \
        Modules/PrefsApp/GNUmakefile.preamble

post-patch:
.for i in ${MODIFY}
    @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
    ${SED} -e "s= -Werror==" ${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
.endfor

.include <bsd.port.mk>