/usr/X11R6 -> ${X11BASE}, tar -> ${TAR}

This commit is contained in:
pvalchev 2001-08-17 02:38:44 +00:00
parent d37e409237
commit ea29ce9725
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2001/04/09 10:50:46 espie Exp $
# $OpenBSD: Makefile,v 1.5 2001/08/17 02:38:44 pvalchev Exp $
COMMENT= 'common data for the nethack/slash ports'
DISTNAME= nethack-3.3.1
@ -22,15 +22,15 @@ PERMIT_DISTFILES_FTP= Yes
EXTRACT_ONLY=
post-extract:
@cd ${WRKDIR} && tar zxqf ${FULLDISTDIR}/${DISTFILES} \
@cd ${WRKDIR} && ${TAR} zxqf ${FULLDISTDIR}/${DISTFILES} \
nethack-3.3.1/win/X11/ibm.bdf \
nethack-3.3.1/win/X11/nh10.bdf \
nethack-3.3.1/doc/Guidebook.txt
do-build:
cd ${WRKSRC}/win/X11 && \
/usr/X11R6/bin/bdftopcf ibm.bdf | /usr/bin/gzip > ibm.pcf.gz && \
/usr/X11R6/bin/bdftopcf nh10.bdf | /usr/bin/gzip > nh10.pcf.gz
${X11BASE}/bin/bdftopcf ibm.bdf | /usr/bin/gzip > ibm.pcf.gz && \
${X11BASE}/bin/bdftopcf nh10.bdf | /usr/bin/gzip > nh10.pcf.gz
do-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nethack

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2001/05/05 21:29:21 espie Exp $
# $OpenBSD: Makefile,v 1.13 2001/08/17 02:38:44 pvalchev Exp $
COMMENT= "Motif toolkit"
COMMENT-debuglibs="Motif toolkit debug libraries"
@ -74,7 +74,7 @@ post-patch:
@cd ${WRKSRC}/doc/man/man4 && perl -pi -e "s|special file|5|" *.4
@cd ${WRKSRC}/doc/man/man5 && perl -pi -e "s|file formats|5|" *.5
# Import from our current X installation.
@cp -f `ls /usr/X11R6/lib/X11/config/* | grep -v '\(Motif\|cde\|\/site.def\|host.def\)'` ${WRKDIR}/motif/config/cf
@cp -f `ls ${X11BASE}/lib/X11/config/* | grep -v '\(Motif\|cde\|\/site.def\|host.def\)'` ${WRKDIR}/motif/config/cf
@mkdir -p ${WRKSRC}/imports/x11
@cd ${WRKSRC}/imports/x11 && for i in bin include lib ; do \
if [ -f $$i ] ; then rm $$i; fi; \