mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# 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>
|