mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-24 21:01:20 +00:00
7fde2ae65d
(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.
29 lines
749 B
Makefile
29 lines
749 B
Makefile
# New ports collection makefile for: mlclock
|
|
# Version required: 1.0
|
|
# Date created: December 05 1997
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
#
|
|
# $Id: Makefile,v 1.1.1.1 1997/12/12 06:16:07 vanilla Exp $
|
|
#
|
|
|
|
DISTNAME= mlclock
|
|
PKGNAME= mlclock-1.0
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://www.bioele.nuee.nagoya-u.ac.jp/member/tak/
|
|
|
|
MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
|
|
|
|
USE_IMAKE= yes
|
|
NO_INSTALL_MANPAGES= yes
|
|
WRKSRC= ${WRKDIR}/mlclock
|
|
|
|
.if !defined(KANJIMODE)
|
|
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>
|