Index: Makefile =================================================================== --- Makefile (revision 467367) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= openbox PORTVERSION= 3.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-wm MASTER_SITES= http://openbox.org/dist/openbox/ @@ -23,6 +23,7 @@ USE_LDCONFIG= yes INSTALL_TARGET= install-strip SHEBANG_FILES= data/autostart/openbox-xdg-autostart +ETCDIR= ${PREFIX}/etc/xdg/${PORTNAME} CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lXext @@ -57,4 +58,10 @@ post-configure: @${CHMOD} +x ${WRKSRC}/install-sh +post-install: +.for config_file in autostart environment menu.xml rc.xml + @${MV} ${STAGEDIR}${ETCDIR}/${config_file} \ + ${STAGEDIR}${ETCDIR}/${config_file}.sample +.endfor + .include Index: pkg-plist =================================================================== --- pkg-plist (revision 467367) +++ pkg-plist (working copy) @@ -25,10 +25,10 @@ bin/openbox-gnome-session bin/openbox-kde-session bin/openbox-session -etc/xdg/openbox/autostart -etc/xdg/openbox/environment -etc/xdg/openbox/menu.xml -etc/xdg/openbox/rc.xml +@sample %%ETCDIR%%/autostart.sample +@sample %%ETCDIR%%/environment.sample +@sample %%ETCDIR%%/menu.xml.sample +@sample %%ETCDIR%%/rc.xml.sample lib/libobrender.a lib/libobrender.so lib/libobrender.so.29