46b5f232b5
FAKE=Yes HAS_CONFIGURE, GNU_CONFIGURE, USE_IMAKE, NO_INSTALL_MANPAGES, USE_AUTOCONF and bump NEED_VERSION accordingly.
32 lines
803 B
Makefile
32 lines
803 B
Makefile
# $OpenBSD: Makefile,v 1.10 2000/10/22 15:42:08 espie Exp $
|
|
|
|
DISTNAME= xjewel-1.6
|
|
CATEGORIES= games
|
|
NEED_VERSION= 1.305
|
|
MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/
|
|
EXTRACT_SUFX= .tar.z
|
|
|
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
CONFIGURE_STYLE=imake
|
|
|
|
pre-install:
|
|
@mkdir -p ${PREFIX}/lib/xjewel.font
|
|
@(cd ${WRKSRC}/bitmaps; ${INSTALL_DATA} seven_seg.pcf.gz fonts.dir \
|
|
${PREFIX}/lib/xjewel.font)
|
|
|
|
post-install:
|
|
@(mv ${PREFIX}/bin/xjewel ${PREFIX}/bin/xjewel_; \
|
|
echo "#!/bin/sh" > ${PREFIX}/bin/xjewel; \
|
|
echo "xset +fp ${TRUEPREFIX}/lib/xjewel.font" >> ${PREFIX}/bin/xjewel; \
|
|
echo "xjewel_" >> ${PREFIX}/bin/xjewel; \
|
|
${CHMOD} ugo+x ${PREFIX}/bin/xjewel)
|
|
|
|
.include <bsd.port.mk>
|