blob: 066c639e3a7c40bb064de2721ad42812f31df073 (
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: gnomehier
# Date created: 2 July 2002
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnomehier
PORTVERSION= 1.0
PORTREVISION= 13
CATEGORIES= misc gnome
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= gnome@FreeBSD.org
COMMENT= An utility port, installing hierarchy of common GNOME directories
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST?= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
do-fetch:
@${DO_NADA}
pre-install:
@${RM} -f ${PLIST}
@${TOUCH} -f ${PLIST}
@${CAT} ${FILESDIR}/dirlist | ${SORT} | ${SED} -e \
's|$$|/.keep_me|' >> ${PLIST}
@${ECHO_CMD} "etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml" \
>> ${PLIST}
@${ECHO_CMD} "etc/gconf/gconf.xml.defaults/apps/%gconf.xml" \
>> ${PLIST}
@${CAT} ${FILESDIR}/dirlist | ${SORT} -r | ${SED} -e \
's|^|@dirrm |' >> ${PLIST}
do-install:
@for dir in `${CAT} ${FILESDIR}/dirlist`; \
do \
${MKDIR} ${PREFIX}/$${dir}; \
${TOUCH} ${PREFIX}/$${dir}/.keep_me; \
done
${TOUCH} -f ${PREFIX}/etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml
${TOUCH} -f ${PREFIX}/etc/gconf/gconf.xml.defaults/apps/%gconf.xml
@${CHMOD} +x ${PREFIX}/etc/gdm/Sessions/.keep_me
.include <bsd.port.mk>
|