aboutsummaryrefslogtreecommitdiff
path: root/games/blue/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-25 17:58:22 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-25 17:58:22 +0000
commit0ab187f3b252e4caf00bd99cf52b04234e12b38e (patch)
tree28166243646f3032f826f63978d2051a4b635657 /games/blue/Makefile
parent2b28c6ab65fde2d61482b936241a70bd1c29df56 (diff)
downloadports-0ab187f3b252e4caf00bd99cf52b04234e12b38e.tar.gz
ports-0ab187f3b252e4caf00bd99cf52b04234e12b38e.zip
Notes
Diffstat (limited to 'games/blue/Makefile')
-rw-r--r--games/blue/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/games/blue/Makefile b/games/blue/Makefile
index cb34fe871f7e..80e1016ab256 100644
--- a/games/blue/Makefile
+++ b/games/blue/Makefile
@@ -6,18 +6,27 @@
#
PORTNAME= blue
-PORTVERSION= 2.6
+PORTVERSION= 2.7
CATEGORIES= games
-MASTER_SITES= http://www.catb.org/~esr/blue/
+MASTER_SITES= http://www.catb.org/~esr/bluemoon/
+DISTNAME= bluemoon-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Blue Moon card solitaire
-ALL_TARGET= # empty
-MAN6= blue.6
+USE_REINPLACE= yes
+ALL_TARGET= bluemoon
+
+MAN6= bluemoon.6
+MLINKS= bluemoon.6 blue.6
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|g ; \
+ s|cc |$$(CC) |g' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/blue ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/blue.6 ${MANPREFIX}/man/man6
+ ${INSTALL_PROGRAM} ${WRKSRC}/bluemoon ${PREFIX}/bin
+ @${LN} -sf bluemoon ${PREFIX}/bin/blue
+ ${INSTALL_MAN} ${WRKSRC}/bluemoon.6 ${MANPREFIX}/man/man6
.include <bsd.port.mk>