diff options
author | nakai <nakai@FreeBSD.org> | 2000-01-22 19:46:45 +0800 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 2000-01-22 19:46:45 +0800 |
commit | 8e76258260591feba8c1af15c1ca6664ed23c5c7 (patch) | |
tree | 6d1a5aa0965f5392bbc49122cf3833c044e424b0 /games/xdeblock/Makefile | |
parent | fe634d0115acb9af3ad90191efcd3274f380d426 (diff) | |
download | freebsd-ports-graphics-8e76258260591feba8c1af15c1ca6664ed23c5c7.tar.gz freebsd-ports-graphics-8e76258260591feba8c1af15c1ca6664ed23c5c7.tar.zst freebsd-ports-graphics-8e76258260591feba8c1af15c1ca6664ed23c5c7.zip |
Fix and updates from KATO Tsuguru.
Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
Diffstat (limited to 'games/xdeblock/Makefile')
-rw-r--r-- | games/xdeblock/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile index a8edab055d3..ef5a8d65447 100644 --- a/games/xdeblock/Makefile +++ b/games/xdeblock/Makefile @@ -1,27 +1,31 @@ -# New ports collection makefile for: xdeblock -# Version required: v1.0 -# Date created: 28 December 1996 -# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> +# New ports collection makefile for: xdeblock +# Version required: 1.0 +# Date created: 28 December 1996 +# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> # # $FreeBSD$ # -DISTNAME= xdeblo_v1.0 +DISTNAME= xdeblock PKGNAME= xdeblock-1.0 CATEGORIES= games -MASTER_SITES= ftp://www.vector.co.jp/pack/unix/game/action/block/ -DISTFILES= xdeblock.tgz +MASTER_SITES= ftp://ftp.vector.co.jp/pack/unix/game/action/block/ +EXTRACT_SUFX= .tgz MAINTAINER= nakai@FreeBSD.org LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm +WRKSRC= ${WRKDIR}/xdeblo_v1.0 USE_IMAKE= yes NO_INSTALL_MANPAGES= yes +post-patch: + @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xdeblo ${PREFIX}/bin - ${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf + @${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf ${CHMOD} 777 ${PREFIX}/lib/X11/xdeblock/mapf ${INSTALL_DATA} ${WRKSRC}/mapf/*.txt ${PREFIX}/lib/X11/xdeblock/mapf |