blob: 62e9c3657697ee614542806fcc2f01362c23f500 (
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
|
# New ports collection makefile for: kdehier4
# Date created: 2008-07-03
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= kdehier4
PORTVERSION= 1.0
CATEGORIES= misc kde
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= kde@FreeBSD.org
COMMENT= Utility port that creates hierarchy of shared KDE4 directories
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_KDE4= kdeprefix
.include <bsd.port.pre.mk>
.if ${KDE4_PREFIX} != ${LOCALBASE}
PLIST_SUB+= MTREE=""
.else
PLIST_SUB+= MTREE="@comment "
.endif
do-fetch:
@${DO_NADA}
do-install:
@for dir in `${GREP} -v "^@comment" ${FILESDIR}/dirlist`; \
do \
${MKDIR} ${PREFIX}/$${dir}; \
${TOUCH} ${PREFIX}/$${dir}/.keep_me; \
done
.if ${KDE4_PREFIX} != ${LOCALBASE}
@for dir in `${GREP} -v "^@comment" ${FILESDIR}/mtree-dirlist`; \
do \
${MKDIR} ${PREFIX}/$${dir}; \
${TOUCH} ${PREFIX}/$${dir}/.keep_me; \
done
${LN} -sf ${LOCALBASE}/${LDCONFIG_DIR} ${KDE4_PREFIX}/libdata/
${LN} -sf ${LOCALBASE}/${LDCONFIG32_DIR} ${KDE4_PREFIX}/libdata/
${LN} -sf ${LOCALBASE}/libdata/pkgconfig ${KDE4_PREFIX}/libdata/
.endif
.include <bsd.port.post.mk>
|