2002-07-02 11:38:45 +02:00
|
|
|
# New ports collection makefile for: gnomehier
|
|
|
|
# Date created: 2 July 2002
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnomehier
|
|
|
|
PORTVERSION= 1.0
|
2004-03-27 18:46:17 +01:00
|
|
|
PORTREVISION= 17
|
2002-07-02 11:38:45 +02:00
|
|
|
CATEGORIES= misc gnome
|
|
|
|
MASTER_SITES= # none
|
|
|
|
DISTFILES= # none
|
|
|
|
|
2003-10-12 05:55:14 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2004-03-27 18:53:30 +01:00
|
|
|
COMMENT= A utility port that creates the GNOME directory tree
|
2002-07-02 11:38:45 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
2004-01-14 14:52:04 +01:00
|
|
|
PLIST?= ${WRKDIR}/pkg-plist
|
2002-07-02 11:38:45 +02:00
|
|
|
|
2002-07-11 19:16:10 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
2002-07-02 11:38:45 +02:00
|
|
|
do-fetch:
|
|
|
|
@${DO_NADA}
|
|
|
|
|
2004-01-14 14:52:04 +01:00
|
|
|
pre-install:
|
|
|
|
@${RM} -f ${PLIST}
|
|
|
|
@${TOUCH} -f ${PLIST}
|
2004-01-22 12:06:02 +01:00
|
|
|
@${CAT} ${FILESDIR}/dirlist | ${SORT} | ${SED} -e \
|
2004-01-14 14:52:04 +01:00
|
|
|
's|$$|/.keep_me|' >> ${PLIST}
|
2004-01-19 00:41:06 +01:00
|
|
|
@${ECHO_CMD} "etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml" \
|
2004-01-14 15:10:04 +01:00
|
|
|
>> ${PLIST}
|
2004-01-19 00:41:06 +01:00
|
|
|
@${ECHO_CMD} "etc/gconf/gconf.xml.defaults/apps/%gconf.xml" \
|
2004-01-14 15:10:04 +01:00
|
|
|
>> ${PLIST}
|
2004-01-22 12:06:02 +01:00
|
|
|
@${CAT} ${FILESDIR}/dirlist | ${SORT} -r | ${SED} -e \
|
2004-01-14 14:52:04 +01:00
|
|
|
's|^|@dirrm |' >> ${PLIST}
|
|
|
|
|
2002-07-02 11:38:45 +02:00
|
|
|
do-install:
|
|
|
|
@for dir in `${CAT} ${FILESDIR}/dirlist`; \
|
|
|
|
do \
|
|
|
|
${MKDIR} ${PREFIX}/$${dir}; \
|
|
|
|
${TOUCH} ${PREFIX}/$${dir}/.keep_me; \
|
|
|
|
done
|
2003-02-02 06:02:16 +01:00
|
|
|
${TOUCH} -f ${PREFIX}/etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml
|
2003-02-16 00:45:51 +01:00
|
|
|
${TOUCH} -f ${PREFIX}/etc/gconf/gconf.xml.defaults/apps/%gconf.xml
|
2002-11-05 00:28:41 +01:00
|
|
|
@${CHMOD} +x ${PREFIX}/etc/gdm/Sessions/.keep_me
|
2002-07-02 11:38:45 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|