summaryrefslogtreecommitdiffstats
path: root/korean/h2ps/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-08-09 00:54:34 +0000
committersteve <steve@FreeBSD.org>1998-08-09 00:54:34 +0000
commitcce62460563e5991c5916cc784f31554b8023765 (patch)
tree3aa86b858b4dce65bb505c97d3d816bb6fec0990 /korean/h2ps/Makefile
parent7d781c4118f189b0befcc4dd4162f611206c869a (diff)
downloadFreeBSD-ports-cce62460563e5991c5916cc784f31554b8023765.zip
FreeBSD-ports-cce62460563e5991c5916cc784f31554b8023765.tar.gz
Update to version 2.0
PR: 7514 Submitted by: maintainer
Diffstat (limited to 'korean/h2ps/Makefile')
-rw-r--r--korean/h2ps/Makefile72
1 files changed, 11 insertions, 61 deletions
diff --git a/korean/h2ps/Makefile b/korean/h2ps/Makefile
index 63e8339..b21eb9d 100644
--- a/korean/h2ps/Makefile
+++ b/korean/h2ps/Makefile
@@ -1,72 +1,22 @@
-# New ports collection makefile for: h2ps-1.0
-# Version required: 1.0
+# New ports collection makefile for: h2ps-2.0
+# Version required: 2.0
# Date created: 20 May 1997
-# Whom: Choi Jun Ho <junker@jazz.snu.ac.kr>
+# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
#
-# $Id: Makefile,v 1.2 1997/09/22 16:21:39 max Exp $
+# $Id: Makefile,v 1.3 1997/11/22 01:17:55 asami Exp $
#
-DISTNAME= h2ps-1.0
-PKGNAME= ko-h2ps-${PAPERSIZE}-1.0
+DISTNAME= h2ps-2.00
+PKGNAME= ko-h2ps-a4-2.0
CATEGORIES= korean print
-MASTER_SITES= ftp://cglab.snu.ac.kr/pub/hangul/n3f/applications/
+MASTER_SITES= ftp://cglab.snu.ac.kr/pub/hangul/n3f/tar/
MAINTAINER= junker@jazz.snu.ac.kr
-MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to letter a4
-MAKE_FLAGS?= WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
-MAN1= h2ps.1
+pre-build:
+ @(cd ${WRKSRC}; make clean)
-letter::
- ${MAKE} PAPERSIZE=letter
-
-letter-install::
- ${MAKE} PAPERSIZE=letter install
-
-a4::
- ${MAKE} PAPERSIZE=a4
-
-a4-install::
- ${MAKE} PAPERSIZE=a4 install
-
-
-.if !defined(PAPERSIZE)
-PAPERSIZE=a4
-WIDTH=8.27
-HEIGHT=11.64
-A4_PAPERSIZE=1
-PAPERSIZE_UNSPECIFIED= yes
-.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
-PAPERSIZE=a4
-WIDTH=8.27
-HEIGHT=11.64
-A4_PAPERSIZE=1
-.elif ${PAPERSIZE} == letter || ${PAPERSIZE} == LETTER
-PAPERSIZE=letter
-WIDTH=8.5
-HEIGHT=11.0
-A4_PAPERSIZE=0
-.else
-PAPERSIZE_INVALID= yes
-.endif # not defined PAPERSIZE
-
-
-pre-fetch:
-.if defined(PAPERSIZE_UNSPECIFIED)
- @echo "Defaulting to ${PAPERSIZE} sized paper."
- @echo ""
- @echo "Set the environment variable PAPERSIZE if you want to use other sizes."
- @echo "Possible values are: A4 (default) or letter"
-.elif defined(PAPERSIZE_INVALID)
- @echo "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
- @echo "Possible values are: A4 (default) or letter"
- @/usr/bin/false
-.endif
-
-pre-install:
- @(cd ${WRKSRC}; make install.man)
-
-post-install:
- strip ${PREFIX}/bin/h2ps
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/h2ps ${PREFIX}/bin
.include <bsd.port.mk>
OpenPOWER on IntegriCloud