aboutsummaryrefslogtreecommitdiff
path: root/japanese/cdrom2/files
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-02-03 16:31:53 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-02-03 16:31:53 +0000
commitf85c5727aa3ffbc97bd88b7498f4de0b2f84bbcb (patch)
treee9c9429fb6771e31f574692fda6e2ed5b78c2053 /japanese/cdrom2/files
parent391a4a5446fd33bbb872c1f8424f0055428b7a0e (diff)
New port:
jp-cdrom2 - A tool to lookup CD-ROM dictionaries in EPWING format
Notes
Notes: svn path=/head/; revision=5515
Diffstat (limited to 'japanese/cdrom2/files')
-rw-r--r--japanese/cdrom2/files/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/japanese/cdrom2/files/Makefile b/japanese/cdrom2/files/Makefile
new file mode 100644
index 000000000000..7ef11473aaca
--- /dev/null
+++ b/japanese/cdrom2/files/Makefile
@@ -0,0 +1,29 @@
+# $Id$
+#
+
+# Installation prefix:
+PREFIX?=/usr/local
+BINDIR=${PREFIX}/bin
+LIBDIR=${PREFIX}/lib/cdrom2
+PROGRAMS=cdrom2 cdgaiji
+TBL_FILES=kojien3.tbl ruigo.tbl
+
+all: ${PROGRAMS}
+
+cdrom2: cdrom2.c
+ cc -DUNIX -O -o cdrom2 cdrom2.c
+
+cdgaiji: cdgaiji.c
+ cc -DUNIX -O -o cdgaiji cdgaiji.c
+
+install:
+ for f in ${PROGRAMS} ; do \
+ /usr/bin/install -c -s -o bin -g bin -m 755 $$f ${BINDIR} ;\
+ done
+ /bin/mkdir -p ${LIBDIR}
+ for f in ${TBL_FILES} ; do \
+ /usr/bin/install -c -o bin -g bin -m 644 $$f ${LIBDIR} ;\
+ done
+
+clean:
+ rm -f ${PROGRAMS}