summaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-12-13 07:01:38 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-12-13 07:01:38 +0000
commit7fde2ae65d64944171c15428cc3015dbb819fb42 (patch)
treeb8cffd575e2429151a3db3382ff0f934e83b15cd /x11-clocks
parentAdd biology. (diff)
(1) Define WRKSRC so it actually works.
(2) The "copy extra file to ${PATCHDIR}" trick doesn't work well if ${PATCHDIR} doesn't exist. Also, you need to delete the patch in pre-clean. In addition, it may give problems to people who are trying to build this on a read-only medium. Solve all the above problems by calling ${PATCH_CMD} ${PATCH_ARGS} directly on the patch in ${FILESDIR}. Also, make the message a little clearer about what's going on.
Notes
Notes: svn path=/head/; revision=9068
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/mlclock/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/x11-clocks/mlclock/Makefile b/x11-clocks/mlclock/Makefile
index 94c78134a4d7..de5a06093813 100644
--- a/x11-clocks/mlclock/Makefile
+++ b/x11-clocks/mlclock/Makefile
@@ -3,7 +3,7 @@
# Date created: December 05 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1997/12/12 06:16:07 vanilla Exp $
#
DISTNAME= mlclock
@@ -15,11 +15,14 @@ MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
+WRKSRC= ${WRKDIR}/mlclock
-pre-patch:
.if !defined(KANJIMODE)
- @${ECHO_MSG} "Japanese Kanji mode disabled....."
- @${CP} ${FILESDIR}/patch-aa ${PATCHDIR}
+pre-patch:
+ @${ECHO_MSG} "Japanese Kanji mode disabled."
+ @${ECHO_MSG} "Use 'make -DKANJIMODE' when compiling if you want the Japanese"
+ @${ECHO_MSG} "kanji mode enabled."
+ @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-aa
.endif
.include <bsd.port.mk>