This commit is contained in:
Artem Falcon 2012-01-18 12:25:35 +00:00 committed by Thomas Klausner
parent c1a38612b2
commit 1c47bd8362
2 changed files with 10 additions and 14 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/12/18 19:29:50 dukzcry Exp $
# $NetBSD: Makefile,v 1.3 2012/01/18 12:25:35 dukzcry Exp $
#
DISTNAME= clfswm-1106-2
@ -13,7 +13,6 @@ LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS+= bin share/doc/clfswm
HAS_CONFIGURE= yes
INSTALL_UNSTRIPPED= yes
# clisp-core linking set, until CLISP 2.50 release
@ -29,6 +28,8 @@ CONFIGURE_ARGS+= -d ${WRKSRC}/dump/
CONFIGURE_ARGS+= --with-clfswm ${WRKSRC}
CONFIGURE_ARGS+= --with-asdf ${WRKSRC}/contrib
INSTALLATION_DIRS+= bin share/doc/clfswm share/examples/clfswm
.include "../../mk/bsd.prefs.mk"
post-patch:
.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
@ -45,12 +46,11 @@ SUBST_SED.sysconf+= -e "/info-on-shell.*\".*MEMORY.*\"/{N; s/\\n//; s/\\(\".*MEM
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/clfswm ${DESTDIR}${PREFIX}/bin/clfswm
cp ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/clfswm
${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/share/doc/clfswm/AUTHORS
${INSTALL_MAN} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/clfswm/COPYING
${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/clfswm/README
${INSTALL_MAN} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/clfswm/TODO
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/clfswm/ChangeLog
cp ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/clfswm
${INSTALL_DATA} ${WRKSRC}/doc/dot-clfswmrc ${DESTDIR}${PREFIX}/share/examples/clfswm/clfswmrc
.for f in AUTHORS COPYING README TODO ChangeLog
${INSTALL_MAN} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/clfswm
.endfor
do-build:
cd ${WRKSRC} && ${SH} ./clfswm -n --rebuild && cp dump/clfswm-*.core src/clfswm

View file

@ -1,16 +1,12 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/18 18:09:04 dukzcry Exp $
@comment $NetBSD: PLIST,v 1.2 2012/01/18 12:25:35 dukzcry Exp $
bin/clfswm
share/doc/clfswm/AUTHORS
share/doc/clfswm/COPYING
share/doc/clfswm/ChangeLog
share/doc/clfswm/README
share/doc/clfswm/TODO
share/doc/clfswm/corner.html
share/doc/clfswm/corner.txt
share/doc/clfswm/dot-clfswmrc
share/doc/clfswm/keys.html
share/doc/clfswm/keys.txt
share/doc/clfswm/menu.html
share/doc/clfswm/menu.txt
share/doc/clfswm/variables.html
share/doc/clfswm/variables.txt
share/examples/clfswm/clfswmrc