diff options
author | nork <nork@FreeBSD.org> | 2003-09-29 12:42:38 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-09-29 12:42:38 +0800 |
commit | 7be3946894058c197bbe3689041a3a01527aa523 (patch) | |
tree | 494f3b498cfe6f00b9af426b578026517cda9979 /games | |
parent | 7957b1b6bcbad79a893c03899fb560bcc7012ab8 (diff) | |
download | freebsd-ports-gnome-7be3946894058c197bbe3689041a3a01527aa523.tar.gz freebsd-ports-gnome-7be3946894058c197bbe3689041a3a01527aa523.tar.zst freebsd-ports-gnome-7be3946894058c197bbe3689041a3a01527aa523.zip |
Persistent Patch with sl5p1.
(@@) () @ O
( )
==== ________ ________
_D _| |_______/ \__I_I_____===__|_______
-_||_- |(_)--- | H\________/ | | =|___ ___
_><_ / | | H | | | | ||_| |_|
-O||X- | | | H |__--------------------| [___]
|| | ________|___H__/__|_____/[][]~\_______|
|| |/ | |-----------I_____I [][] [] D |=======
|| __/ =| o |=-~~\ /~~\ /~~\ /~~\ ____Y___________
|| ___/-=|___|= || || || |_____/~\___/
\&||~|-+-----------------=====O=====O_/ \_/
Requested by: ume AT Hakone
Approved by: HIYAMA Takeshi <hym@cocoa.freemail.ne.jp> (maintainer)
Diffstat (limited to 'games')
-rw-r--r-- | games/sl/Makefile | 20 | ||||
-rw-r--r-- | games/sl/distinfo | 1 | ||||
-rw-r--r-- | games/sl/pkg-plist | 6 |
3 files changed, 23 insertions, 4 deletions
diff --git a/games/sl/Makefile b/games/sl/Makefile index ad989bf2cfef..6a481eb4d1ea 100644 --- a/games/sl/Makefile +++ b/games/sl/Makefile @@ -6,12 +6,19 @@ # PORTNAME= sl -PORTVERSION= 3.03 +PORTVERSION= 3.03${SLPATCHVERSION} CATEGORIES= games MASTER_SITES= http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/sl/ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tar +.if defined(WITH_PERSISTENT) +SLPATCHVERSION= -5p1 +PATCH_SITES= http://www.linet.gr.jp/~izumi/sl/ +PATCHFILES= sl5-1.patch +PATCH_DIST_STRIP= -p1 +.endif + MAINTAINER= hym@cocoa.freemail.ne.jp COMMENT= A steam locomotive runs across the screen if you type "sl" instead of "ls" @@ -21,6 +28,17 @@ ALL_TARGET= sl MAN1= sl.1 MANLANG= ja +pre-everything:: +.if !defined(WITH_PERSISTENT) + @${ECHO_MSG} + @${ECHO_MSG} " If you want to apply additional patch to make sl more annoying," + @${ECHO_MSG} " hit Ctrl-C right now and use \"make WITH_PERSISTENT=yes\"" + @${ECHO_MSG} +.endif + +do-build: + @${CC} ${CFLAGS} -I${WRKSRC} -o ${WRKSRC}/sl ${WRKSRC}/sl.c -lcurses -ltermcap + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sl ${PREFIX}/bin ${MV} ${WRKSRC}/sl.1 ${WRKSRC}/sl.man diff --git a/games/sl/distinfo b/games/sl/distinfo index 8a91ff01d512..9861a4928af3 100644 --- a/games/sl/distinfo +++ b/games/sl/distinfo @@ -1 +1,2 @@ MD5 (sl.tar) = cc06b159f78f86bfd2d4e0e16330fbae +MD5 (sl5-1.patch) = 97a346188edb4d048021a1e1699fee77 diff --git a/games/sl/pkg-plist b/games/sl/pkg-plist index 27c3902afc17..ab1fac924e83 100644 --- a/games/sl/pkg-plist +++ b/games/sl/pkg-plist @@ -1,4 +1,4 @@ bin/sl -share/doc/sl/README -share/doc/sl/sl.txt -@dirrm share/doc/sl +%%DOCSDIR%%/README +%%DOCSDIR%%/sl.txt +@dirrm %%DOCSDIR%% |