Index: head/games/xrot/pkg-install =================================================================== --- head/games/xrot/pkg-install (revision 362825) +++ head/games/xrot/pkg-install (nonexistent) @@ -1,9 +0,0 @@ -#!/bin/sh - -FILE="/var/games/xrot.scores" -[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0 - -echo "===> Creating initial high score file $FILE" -touch $FILE -chown root:games $FILE -chmod 664 $FILE Property changes on: head/games/xrot/pkg-install ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/xrot/Makefile =================================================================== --- head/games/xrot/Makefile (revision 362825) +++ head/games/xrot/Makefile (revision 362826) @@ -1,35 +1,31 @@ # Created by: Mark Pulford # $FreeBSD$ PORTNAME= xrot PORTVERSION= 1.3.2 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://hanzubon.jp/mirrors/Vine/%SUBDIR%/ \ http://ftp.jaist.ac.jp/pub/Linux/Vine/%SUBDIR%/ \ http://ftp.riken.go.jp/Linux/vine/%SUBDIR%/ \ http://ftp.yz.yamagata-u.ac.jp/pub/Linux/Vine/%SUBDIR%/ \ http://ftp.nara.wide.ad.jp/pub/Linux/vine/%SUBDIR%/ \ http://ftp.vinelinux.org/pub/Vine/%SUBDIR%/ MASTER_SITE_SUBDIR= VinePlus/1.1/JG-0.9.1/sources MAINTAINER= ports@FreeBSD.org COMMENT= Falling ball puzzle game for X WRKSRC= ${WRKDIR}/xrot USES= imake USE_XORG= xpm ALL_TARGET= xrot CFLAGS+= -Wno-return-type -PLIST_FILES= bin/xrot - -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xrot ${PREFIX}/bin - ${CHOWN} root:games ${PREFIX}/bin/xrot - ${CHMOD} g+s ${PREFIX}/bin/xrot - ${SH} pkg-install ${PKGNAME} POST-INSTALL + ${INSTALL_PROGRAM} ${WRKSRC}/xrot ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}/var/games + ${TOUCH} ${STAGEDIR}/var/games/xrot.scores.sample .include Index: head/games/xrot/pkg-plist =================================================================== --- head/games/xrot/pkg-plist (nonexistent) +++ head/games/xrot/pkg-plist (revision 362826) @@ -0,0 +1,9 @@ +@group games +@mode 3755 +bin/xrot +@mode +@cwd / +@sample var/games/xrot.scores.sample +@exec chmod 664 %B/%f +@group +@dirrmtry var/games Property changes on: head/games/xrot/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property