This commit is contained in:
espie 2000-03-31 23:04:44 +00:00
parent 9454286665
commit 3d5255821f
2 changed files with 24 additions and 13 deletions

View File

@ -3,28 +3,29 @@
# Date created: May 19 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.2 1999/04/05 10:36:43 rohee Exp $
# $OpenBSD: Makefile,v 1.3 2000/03/31 23:04:44 espie Exp $
#
DISTNAME= EmiClock-1.0.2
PKGNAME= emiclock-1.0.2
CATEGORIES= x11
NEED_VERSION= 1.230
MASTER_SITES= ftp://sunsite.unc.edu/pub/X11/contrib/applications/
MAINTAINER= angelos@openbsd.org
USE_IMAKE= yes
USE_IMAKE= Yes
FAKE= Yes
LANGRES= resources/R6/EUC/EmiClock.ad
LANGDIR= $(X11BASE)/lib/X11/ja_JP.EUC/app-defaults
EMICLOCKDIR= $(X11BASE)/lib/X11/EmiClock
LANGDIR= $(PREFIX)/lib/X11/ja_JP.EUC/app-defaults
EMICLOCKDIR= $(PREFIX)/lib/X11/EmiClock
COPYRIGHTS= COPYRIGHT COPYRIGHT.E
pre-install:
@if [ ! -d $(EMICLOCKDIR) ] ; then mkdir -p $(EMICLOCKDIR); fi
@if [ ! -d $(LANGDIR) ] ; then mkdir -p $(LANGDIR); fi
cd $(WRKSRC); install -c -m 0444 $(LANGRES) $(LANGDIR)/EmiClock
cd $(WRKSRC); install -c -m 0444 $(COPYRIGHTS) $(EMICLOCKDIR)
# cd $(WRKSRC); make install.man
@${INSTALL_DATA_DIR} ${EMICLOCKDIR}
@${INSTALL_DATA_DIR} ${LANGDIR}
cd $(WRKSRC) && ${INSTALL_DATA} $(LANGRES) $(LANGDIR)/EmiClock
cd $(WRKSRC) && ${INSTALL_DATA} $(COPYRIGHTS) $(EMICLOCKDIR)
.include <bsd.port.mk>

View File

@ -1,16 +1,26 @@
--- Imakefile.orig Thu Jun 30 09:34:55 1994
+++ Imakefile Tue Jun 9 20:59:42 1998
@@ -90,7 +90,13 @@
+++ Imakefile Sat Apr 1 00:16:02 2000
@@ -90,8 +90,14 @@
/* FreeBSD */
#if defined(i386BsdArchitecture) && (defined(i386FreeBsd) || defined(FreeBSDArchitecture))
#define StartupSound myu.au
+EXTRA_LIBRARIES = -lxpg4
#endif /* i386BsdArchitecture && (i386FreeBsd || FreeBSDArchitecture) */
+
+/* OpenBSD */
+#ifdef OpenBSDArchitecture
+#define StartupSound myu.au
+#endif /* OpenBSDArchitecture */
+
#else /* USE_NETAUDIO */
/* netaudio (NCDaudio) */
@@ -218,6 +224,6 @@
#ifdef USE_SOUND
install:: sounds/StartupSound
- MakeDir(EmiClockLib)
- $(INSTALL) -c $(INSTAPPFLAGS) sounds/StartupSound EmiClockLib/StartupSound
+ MakeDir($(DESTDIR)EmiClockLib)
+ $(INSTALL) -c $(INSTAPPFLAGS) sounds/StartupSound $(DESTDIR)EmiClockLib/StartupSound
#endif /* USE_SOUND */