summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2014-07-16 16:56:46 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2014-07-16 16:56:46 +0000
commit845200d4c572b82064a7b32c63443c47df4f2d8a (patch)
tree220220f3495505a145b9bbfc15d76691e530b243 /games
parent5676313c8b8cbd5206b9e5b3ecf12f8670b3a0e9 (diff)
replace beforeinstall target with LINKS; rot13 becomes a hardlink to
caesar instead of a symlink. agreed by deraadt, sobrado, guenther
Diffstat (limited to 'games')
-rw-r--r--games/caesar/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/caesar/Makefile b/games/caesar/Makefile
index bf1a4b3af8b..940dadd428a 100644
--- a/games/caesar/Makefile
+++ b/games/caesar/Makefile
@@ -1,12 +1,10 @@
-# $OpenBSD: Makefile,v 1.5 1998/02/26 07:58:07 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2014/07/16 16:56:45 okan Exp $
PROG= caesar
MAN= caesar.6
DPADD= ${LIBM}
LDADD= -lm
MLINKS= caesar.6 rot13.6
-
-beforeinstall:
- (cd ${DESTDIR}/usr/games; rm -f rot13; ln -s caesar rot13)
+LINKS= ${BINDIR}/caesar ${BINDIR}/rot13
.include <bsd.prog.mk>