diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-10 08:29:34 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-10 08:29:34 +0800 |
commit | d8e6ee09158b664d9416a48eaf1d9e867e9a1927 (patch) | |
tree | 3b576e1b6afd99f77adc2e2023fd7ba72f65c432 /x11-wm | |
parent | 0846130ef2d4979898787ed4e9e92f4f87820c9f (diff) | |
download | freebsd-ports-gnome-d8e6ee09158b664d9416a48eaf1d9e867e9a1927.tar.gz freebsd-ports-gnome-d8e6ee09158b664d9416a48eaf1d9e867e9a1927.tar.zst freebsd-ports-gnome-d8e6ee09158b664d9416a48eaf1d9e867e9a1927.zip |
- Support staging
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/aewm/Makefile | 38 | ||||
-rw-r--r-- | x11-wm/aewm/pkg-plist | 2 |
2 files changed, 16 insertions, 24 deletions
diff --git a/x11-wm/aewm/Makefile b/x11-wm/aewm/Makefile index f807465a36a4..40e88361683a 100644 --- a/x11-wm/aewm/Makefile +++ b/x11-wm/aewm/Makefile @@ -15,7 +15,6 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" XROOT="${LOCALBASE}" USE_XORG= x11 xext xt xaw WANT_GNOME= yes -MAN1= aeclients.1 aewm.1 # XXX should use LICENSE instead of installing it as part of documentation, # but our license framework does not support XFree86 license at this moment PORTDOCS= DESIGN LICENSE NEWS README TODO @@ -23,7 +22,6 @@ PORTDOCS= DESIGN LICENSE NEWS README TODO GTKCLIENTS= aemenu-gtk aepanel-gtk XAWCLIENTS= aemenu-xaw aepanel-xaw aesession set-gnome-pda -NO_STAGE= yes .include <bsd.port.pre.mk> .if ${HAVE_GNOME:Mgtk20} != "" @@ -53,35 +51,27 @@ post-build: .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/aewm ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/aewm ${STAGEDIR}${PREFIX}/bin .for i in ${XAWCLIENTS} - ${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${STAGEDIR}${PREFIX}/bin .endfor .if ${HAVE_GNOME:Mgtk20} != "" .for i in ${GTKCLIENTS} - ${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/clients/${i} ${STAGEDIR}${PREFIX}/bin .endfor - ${LN} -sf aemenu-gtk ${PREFIX}/bin/aemenu - ${LN} -sf aepanel-gtk ${PREFIX}/bin/aepanel + ${LN} -sf aemenu-gtk ${STAGEDIR}${PREFIX}/bin/aemenu + ${LN} -sf aepanel-gtk ${STAGEDIR}${PREFIX}/bin/aepanel .else - ${LN} -sf aemenu-xaw ${PREFIX}/bin/aemenu - ${LN} -sf aepanel-xaw ${PREFIX}/bin/aepanel + ${LN} -sf aemenu-xaw ${STAGEDIR}${PREFIX}/bin/aemenu + ${LN} -sf aepanel-xaw ${STAGEDIR}${PREFIX}/bin/aepanel .endif - ${INSTALL_MAN} ${WRKSRC}/src/aewm.1x ${MANPREFIX}/man/man1/aewm.1 + ${INSTALL_MAN} ${WRKSRC}/src/aewm.1x ${STAGEDIR}${MAN1PREFIX}/man/man1/aewm.1 ${INSTALL_MAN} ${WRKSRC}/clients/aeclients.1x \ - ${MANPREFIX}/man/man1/aeclients.1 - @${MKDIR} ${PREFIX}/etc/aewm - ${INSTALL_DATA} ${WRKSRC}/src/aewmrc.sample ${PREFIX}/etc/aewm - ${INSTALL_DATA} ${WRKSRC}/clients/clientsrc.sample ${PREFIX}/etc/aewm -.if !exists(${PREFIX}/etc/aewm/aewmrc) - cd ${PREFIX}/etc/aewm && ${CP} aewmrc.sample aewmrc -.endif -.if !exists(${PREFIX}/etc/aewm/clientsrc) - cd ${PREFIX}/etc/aewm && ${CP} clientsrc.sample clientsrc -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${STAGEDIR}${MAN1PREFIX}/man/man1/aeclients.1 + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/aewm + ${INSTALL_DATA} ${WRKSRC}/src/aewmrc.sample ${STAGEDIR}${PREFIX}/etc/aewm + ${INSTALL_DATA} ${WRKSRC}/clients/clientsrc.sample ${STAGEDIR}${PREFIX}/etc/aewm + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.post.mk> diff --git a/x11-wm/aewm/pkg-plist b/x11-wm/aewm/pkg-plist index 778f5fc9041e..00531c86e155 100644 --- a/x11-wm/aewm/pkg-plist +++ b/x11-wm/aewm/pkg-plist @@ -11,4 +11,6 @@ etc/aewm/aewmrc.sample @unexec if cmp -s %D/etc/aewm/clientsrc.sample %D/etc/aewm/clientsrc; then rm -f %D/etc/aewm/clientsrc; fi etc/aewm/clientsrc.sample @exec if [ ! -e %D/etc/aewm/clientsrc ]; then cp %D/etc/aewm/clientsrc.sample %D/etc/aewm/clientsrc; fi +man/man1/aeclients.1.gz +man/man1/aewm.1.gz @dirrmtry etc/aewm |