Skip to content

Commit

Permalink
Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27).
Browse files Browse the repository at this point in the history
  • Loading branch information
Dejan Lesjak authored and Dejan Lesjak committed Jun 15, 2005
1 parent 2552b8e commit 5066eda
Show file tree
Hide file tree
Showing 66 changed files with 170 additions and 193 deletions.
13 changes: 12 additions & 1 deletion databases/xmysqladmin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,15 @@ USE_X_PREFIX= yes
USE_XPM= yes
ALL_TARGET= xmysqladmin

.include <bsd.port.mk>
pre-su-install:
@${MKDIR} ${PREFIX}/include/X11/pixmaps

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions databases/xmysqladmin/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bin/xmysqladmin
include/X11/pixmaps/mysql.xpm
%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
10 changes: 9 additions & 1 deletion graphics/hobbes-icons-xpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,12 @@ post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR}
.endif

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions graphics/hobbes-icons-xpm/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -3417,3 +3417,4 @@ include/X11/pixmaps/z/zug2.xpm
@dirrm include/X11/pixmaps/x
@dirrm include/X11/pixmaps/y
@dirrm include/X11/pixmaps/z
%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
10 changes: 9 additions & 1 deletion graphics/xpcd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@ MAKE_ENV+= LDFLAGS="${LDFLAGS}"
USE_X_PREFIX= yes
MAN1= pcdtoppm.1 pcdview.1 xpcd.1

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions graphics/xpcd/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ lib/X11/xpcd/system.xpcdrc
@dirrm lib/X11/de/app-defaults
@dirrm lib/X11/de
@dirrm lib/X11/xpcd
%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
6 changes: 0 additions & 6 deletions japanese/kterm16c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ USE_XPM= yes

DOCDIR= ${PREFIX}/share/doc/kterm16c

.if ${X_WINDOW_SYSTEM:L} == xorg
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

post-extract:
@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DIST_SUBDIR}/pcemu1.01alpha.tar.gz \
Expand Down
2 changes: 1 addition & 1 deletion japanese/kterm16c/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ lib/X11/fonts/misc/vga.pcf.gz
share/doc/kterm16c/dot.termcap
share/doc/kterm16c/kterm16c.doc
@dirrm share/doc/kterm16c
%%NEWMTREE%%@unexec rmdir %D/lib/X11/fonts/misc 2>/dev/null || true
@unexec rmdir %D/lib/X11/fonts/misc 2>/dev/null || true
10 changes: 9 additions & 1 deletion x11-fm/asfiles/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ post-install:
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
${MV} ${WRKSRC}/src/Files.ad.orig ${WRKSRC}/src/Files.ad

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions x11-fm/asfiles/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,4 @@ lib/X11/app-defaults/Files.ad
share/OffiX/FilesMagic
share/OffiX/Filesrc
@dirrm share/OffiX
%%NEWMTREE%%@unexec rmdir %D/include/bitmaps 2>/dev/null || true
10 changes: 9 additions & 1 deletion x11-fm/offix-files/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,12 @@ MAN3= regexp.3
post-install:
@${INSTALL_DATA} ${WRKSRC}/src/Files.ad ${PREFIX}/share/OffiX/

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions x11-fm/offix-files/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -273,3 +273,4 @@ include/bitmaps/zoo.xbm
share/OffiX/Files.ad
share/OffiX/FilesMagic
share/OffiX/Filesrc
%%NEWMTREE%%@unexec rmdir %D/include/bitmaps 2>/dev/null || true
10 changes: 9 additions & 1 deletion x11-fm/workplace/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,12 @@ do-install:
@ ${MKDIR} ${PREFIX}/share/examples/workplace
@ ${INSTALL_DATA} ${WRKSRC}/example/* ${PREFIX}/share/examples/workplace

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions x11-fm/workplace/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ share/examples/workplace/WPPref
share/examples/workplace/WPSuffix
@dirrm share/doc/workplace
@dirrm share/examples/workplace
%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
11 changes: 10 additions & 1 deletion x11-fm/x-files/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@ do-install:
.endfor
@${CHMOD} 0555 ${PREFIX}/lib/X11/X-Files/X-Files.tcl
@${LN} -s ${PREFIX}/lib/X11/X-Files/X-Files.tcl ${PREFIX}/bin/X-Files
@${MKDIR} ${X11BASE}/include/X11/pixmaps
@${INSTALL_DATA} ${WRKSRC}/X-Files.xpm ${X11BASE}/include/X11/pixmaps
@${INSTALL_MAN} ${WRKSRC}/X-Files.1x ${X11BASE}/man/man1

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions x11-fm/x-files/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ lib/X11/X-Files/xfiles.user_pophelp
lib/X11/X-Files/xfilesrc
lib/X11/X-Files/xflogo.gif
@dirrm lib/X11/X-Files
%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
1 change: 0 additions & 1 deletion x11-fonts/intlfonts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ do-build:
-e 's,%%T1_FONTSDIR%%,${T1_FONTSDIR},g' \
-e 's,%%TT_FONTSDIR%%,${TT_FONTSDIR},g' \
-e 's,%%LOCALBASE%%,${LOCALBASE},g' \
-e 's,%%XWINSYS%%,${X_WINDOW_SYSTEM:L},g' \
< ${FILESDIR}/$${file}.tmpl > ${WRKDIR}/$${file}; \
done

Expand Down
3 changes: 1 addition & 2 deletions x11-fonts/intlfonts/files/DEINSTALL.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ if [ "x$2" = "xPOST-DEINSTALL" ]; then
[ `wc -c ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale | awk '{print $1}'` = 2 ] && rm -f ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale
# Remove a backup file made by type1inst
rm -f ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale.bak
[ "%%XWINSYS%%" = "xorg" ] && \
(rmdir ${PKG_PREFIX}/%%T1_FONTSDIR%% 2>/dev/null || true)
rmdir ${PKG_PREFIX}/%%T1_FONTSDIR%% 2>/dev/null || true
fi
10 changes: 1 addition & 9 deletions x11-fonts/libXfont/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,4 @@ CONFIGURE_ARGS= --enable-freetype
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack pkgconfig

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xorg
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion x11-fonts/libXfont/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ lib/libXfont.la
lib/libXfont.so
lib/libXfont.so.1
libdata/pkgconfig/xfont.pc
%%NEWMTREE%%@dirrm include/X11/fonts
@dirrm include/X11/fonts
6 changes: 6 additions & 0 deletions x11-fonts/libXft/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ MAN3= Xft.3
IGNORE= Xft requires Render extension headers/library to build.
.endif

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.if defined(WITH_CJK)
PATCH_SITES= ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ \
http://bsdchat.com/dist/firefly-cjk-patchset/
Expand Down
1 change: 1 addition & 0 deletions x11-fonts/libXft/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ lib/libXft.a
lib/libXft.so
lib/libXft.so.2
libdata/pkgconfig/xft.pc
%%NEWMTREE%%@dirrm include/X11/Xft
10 changes: 1 addition & 9 deletions x11-fonts/tv-fonts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,4 @@ do-install:
post-install:
@-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xorg
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>
4 changes: 2 additions & 2 deletions x11-fonts/tv-fonts/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ lib/X11/fonts/misc/teletext4.pcf.gz
lib/X11/fonts/misc/teletext4i.pcf.gz
@unexec rm %D/lib/X11/fonts/misc/fonts.cache-1 || true
@unexec fc-cache -f -v %D/lib/X11/fonts/misc || true
%%NEWMTREE%%@unexec if [ ! -s %D/lib/X11/fonts/misc/fonts.cache-1 ]; then rm %D/lib/X11/fonts/misc/fonts.cache-1; fi
%%NEWMTREE%%@unexec rmdir %D/lib/X11/fonts/misc 2>/dev/null || true
@unexec if [ ! -s %D/lib/X11/fonts/misc/fonts.cache-1 ]; then rm %D/lib/X11/fonts/misc/fonts.cache-1; fi
@unexec rmdir %D/lib/X11/fonts/misc 2>/dev/null || true
4 changes: 3 additions & 1 deletion x11-servers/xorg-server/files/BSD.x11-xorg.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $FreeBSD: /tmp/pcvs/ports/x11-servers/xorg-server/files/Attic/BSD.x11-xorg.dist,v 1.2 2005-03-25 07:03:04 lesi Exp $
# $FreeBSD: /tmp/pcvs/ports/x11-servers/xorg-server/files/Attic/BSD.x11-xorg.dist,v 1.3 2005-06-15 02:42:12 lesi Exp $
#
# Please see the file src/etc/mtree/README before making changes to this file.
#
Expand Down Expand Up @@ -520,5 +520,7 @@
..
..
..
pixmaps
..
..
..
10 changes: 1 addition & 9 deletions x11-toolkits/libXaw/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,4 @@ USE_GNOME= gnomehack pkgconfig

MAN3= Xaw.3

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xorg
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion x11-toolkits/libXaw/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ lib/libXaw.la
lib/libXaw.so
lib/libXaw.so.7
libdata/pkgconfig/xaw.pc
%%NEWMTREE%%@dirrm include/X11/Xaw
@dirrm include/X11/Xaw
10 changes: 1 addition & 9 deletions x11-toolkits/libXmu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,4 @@ CFLAGS+= -DMALLOC_0_RETURNS_NULL
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack pkgconfig

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xorg
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion x11-toolkits/libXmu/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ lib/libXmuu.so
lib/libXmuu.so.1
libdata/pkgconfig/xmu.pc
libdata/pkgconfig/xmuu.pc
%%NEWMTREE%%@dirrm include/X11/Xmu
@dirrm include/X11/Xmu
1 change: 1 addition & 0 deletions x11-toolkits/xview/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ include/xview_private/xv_color.h
include/xview_private/xv_debug.h
include/xview_private/xv_list.h
include/xview_private/xv_path_util.h
@unexec rmdir %D/include/bitmaps 2>/dev/null || true
@dirrm include/images
@dirrm include/olgx
@dirrm include/olgx_private
Expand Down
10 changes: 9 additions & 1 deletion x11-wm/afterstep-i18n/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,12 @@ post-install:
.endfor
.endif

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions x11-wm/afterstep-i18n/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ share/doc/afterstep/CHANGES.I18N
share/doc/afterstep/README.I18N
share/doc/afterstep/README.I18N.jis
@dirrm share/doc/afterstep
%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
10 changes: 9 additions & 1 deletion x11-wm/afterstep/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/lib/X11/afterstep/doc/; \
done

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions x11-wm/afterstep/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ lib/X11/afterstep/system.steprc
@dirrm lib/X11/afterstep/doc
@dirrm lib/X11/afterstep/sounds
@dirrm lib/X11/afterstep
%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
10 changes: 1 addition & 9 deletions x11-wm/ctwm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,4 @@ MAN1= ctwm.1
post-extract:
@(cd ${WRKSRC} && ${LN} -s ../xpm xpm)

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xorg
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion x11-wm/ctwm/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ lib/X11/twm/images/xrn.xpm
lib/X11/twm/images/xterm.xpm
lib/X11/twm/system.ctwmrc
@dirrm lib/X11/twm/images
%%NEWMTREE%%@unexec rmdir %D/lib/X11/twm 2>/dev/null || true
@unexec rmdir %D/lib/X11/twm 2>/dev/null || true
10 changes: 9 additions & 1 deletion x11-wm/fvwm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ post-install:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${WRKSRC}/fvwm_icons/*.xpm ${PREFIX}/include/X11/pixmaps

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xfree86-4
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
1 change: 1 addition & 0 deletions x11-wm/fvwm/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ include/X11/pixmaps/xterm-sol.xpm
include/X11/pixmaps/xterm-sun.xpm
include/X11/pixmaps/xterm.xpm
@dirrm lib/X11/fvwm
%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
10 changes: 1 addition & 9 deletions x11-wm/vtwm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,4 @@ USE_XPM= yes

MAN1= vtwm.1

.include <bsd.port.pre.mk>

.if ${X_WINDOW_SYSTEM:L} == xorg
PLIST_SUB+= NEWMTREE=""
.else
PLIST_SUB+= NEWMTREE="@comment "
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion x11-wm/vtwm/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
bin/vtwm
lib/X11/twm/system.vtwmrc
%%NEWMTREE%%@unexec rmdir %D/lib/X11/twm 2>/dev/null || true
@unexec rmdir %D/lib/X11/twm 2>/dev/null || true
Loading

0 comments on commit 5066eda

Please sign in to comment.