a0eb3c6241
libXpm is standard with 2.3
33 lines
807 B
Makefile
33 lines
807 B
Makefile
# OpenBSD makefile for: xdeblock
|
|
# Version required: v1.0
|
|
# Date created: May 19 1998
|
|
# Whom: Angelos D. Keromytis
|
|
#
|
|
# $OpenBSD: Makefile,v 1.2 1998/06/13 23:26:47 marc Exp $
|
|
#
|
|
|
|
DISTNAME= xdeblo_v1.0
|
|
PKGNAME= xdeblock-1.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://www.vector.co.jp/pack/unix/game/action/block/
|
|
DISTFILES= xdeblock.tgz
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
OS_RELEASE!= uname -r
|
|
OS_HAS_XPM= 2.3
|
|
.if ( ${OS_RELEASE} < ${OS_HAS_XPM} )
|
|
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
|
|
.endif
|
|
|
|
USE_IMAKE= yes
|
|
NO_INSTALL_MANPAGES= yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xdeblo ${PREFIX}/bin
|
|
${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf
|
|
chmod 777 ${PREFIX}/lib/X11/xdeblock/mapf
|
|
${INSTALL_DATA} ${WRKSRC}/mapf/*.txt ${PREFIX}/lib/X11/xdeblock/mapf
|
|
|
|
.include <bsd.port.mk>
|