JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Make it match sthen's stuff
authorMarco Peereboom <marco@conformal.com>
Tue, 13 Oct 2009 18:57:59 +0000 (18:57 +0000)
committerMarco Peereboom <marco@conformal.com>
Tue, 13 Oct 2009 18:57:59 +0000 (18:57 +0000)
port/Makefile
port/pkg/PLIST

index ebd0324..02432c7 100644 (file)
@@ -33,11 +33,14 @@ pre-configure:
        @${SUBST_CMD} ${WRKSRC}/scrotwm.conf ${WRKSRC}/scrotwm.c
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/scrotwm
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scrotwm
-       ${INSTALL_SCRIPT} ${WRKSRC}/baraction.sh ${PREFIX}/share/scrotwm
-       ${INSTALL_SCRIPT} ${WRKSRC}/initscreen.sh ${PREFIX}/share/scrotwm
-       ${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/scrotwm
+       ${INSTALL_SCRIPT} ${WRKSRC}/baraction.sh ${PREFIX}/share/examples/scrotwm
+       ${INSTALL_SCRIPT} ${WRKSRC}/initscreen.sh ${PREFIX}/share/examples/scrotwm
+       ${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/examples/scrotwm
        ${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/share/examples/scrotwm
+.for i in es it
+       ${INSTALL_DATA_DIR} ${PREFIX}/man/$i/cat1
+       mv ${PREFIX}/man/cat1/scrotwm_$i.0 ${PREFIX}/man/$i/cat1/scrotwm.0
+.endfor
 
 .include <bsd.port.mk>
index 3568bc2..5e7a5fc 100644 (file)
@@ -1,12 +1,20 @@
-@comment $OpenBSD$
+@comment $OpenBSD: PLIST,v 1.2 2009/10/13 12:24:42 sthen Exp $
 %%SHARED%%
 @bin bin/scrotwm
 @man man/cat1/scrotwm.0
-@man man/cat1/scrotwm_es.0
-@man man/cat1/scrotwm_it.0
+man/es/
+man/es/cat1/
+@man man/es/cat1/scrotwm.0
+man/it/
+man/it/cat1/
+@man man/it/cat1/scrotwm.0
 share/examples/scrotwm/
+@sample share/scrotwm/
+share/examples/scrotwm/baraction.sh
+@sample share/scrotwm/baraction.sh
+share/examples/scrotwm/initscreen.sh
+@sample share/scrotwm/initscreen.sh
+share/examples/scrotwm/screenshot.sh
+@sample share/scrotwm/screenshot.sh
 share/examples/scrotwm/scrotwm.conf
-share/scrotwm/
-share/scrotwm/baraction.sh
-share/scrotwm/initscreen.sh
-share/scrotwm/screenshot.sh
+@sample ${SYSCONFDIR}/scrotwm.conf