aboutsummaryrefslogtreecommitdiffstats
path: root/www/kdewebdev4/Makefile
blob: 836c57440786783b8491cad08261d651bb61a030 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# New ports collection makefile for:    Quanta+
# Date created:             26 Sep 2002
# Whom:                 AlanE <alane@freebsd.org>
#
# $FreeBSD$
#

# NOTE: This is the official release version of quanta which will be
# included in kde-3.1. Yay!

PORTNAME=   quanta
PORTVERSION=    3.0
PORTEPOCH=  2   # dammit! I hate this kludge.
CATEGORIES= www kde

MASTER_SITES=       ${MASTER_SITE_LOCAL} \
            http://people.freebsd.org/~alane    # temp only
MASTER_SITE_SUBDIR= alane/quanta
DIST_SUBDIR=        ${PORTNAME}

.if !defined(NOPORTDOCS)
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        css.tar.bz2 \
        html.tar.bz2 \
        javascript.tar.bz2 \
        php.tar.bz2
.endif

MAINTAINER= alane@freebsd.org

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext

USE_KDELIBS_VER=3
USE_XPM=    yes
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include \
        --disable-closure --enable-threads --disable-debug
USE_GMAKE=  yes

DOCS=       css html javascript php

QDOCSDIR=   share/apps/quanta/doc
PLIST_SUB+= QDOCSDIR=${QDOCSDIR} DOCSDIR=${DOCSDIR}

.include <bsd.port.pre.mk>

pre-configure:
    cd ${WRKSRC}; ${GMAKE} -f Makefile.cvs

post-install:
    ${RM} -fr ${PREFIX}/${QDOCSDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/${QDOCSDIR}
.for doc in ${DOCS}
    cd ${WRKDIR}/${doc}; ${CP} -R ${doc} ${doc}.docrc ${PREFIX}/${QDOCSDIR}
.endfor # doc in ${DOCS}
    ${CHOWN} -R ${DOCOWN}:${DOCGRP} ${PREFIX}/${QDOCSDIR}
    ${FIND} ${PREFIX}/${QDOCSDIR}|sort|xargs ${CHMOD} ${DOCMODE}
    ${FIND} ${PREFIX}/${QDOCSDIR} -type d|sort|xargs ${CHMOD} ugo+x
.endif # !defined(NOPORTDOCS)
    if ${TEST} -f ${PKGMESSAGE}; then ${CAT} ${PKGMESSAGE}; fi 

.include <bsd.port.post.mk>