aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/cal
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-11-11 13:50:23 +0800
committerobrien <obrien@FreeBSD.org>1996-11-11 13:50:23 +0800
commit2df0b0be3e0475f44afb4415f5fea89d3074e01e (patch)
treedab53b10c77fec063733363128dae6322f1eacab /deskutils/cal
parent644c7b7743aecd518e64fc296170ab18a22d8350 (diff)
downloadfreebsd-ports-gnome-2df0b0be3e0475f44afb4415f5fea89d3074e01e.tar.gz
freebsd-ports-gnome-2df0b0be3e0475f44afb4415f5fea89d3074e01e.tar.zst
freebsd-ports-gnome-2df0b0be3e0475f44afb4415f5fea89d3074e01e.zip
CATEGORIES+= --> CATEGORIES=
Misc variable reordering, cleaning up, etc.
Diffstat (limited to 'deskutils/cal')
-rw-r--r--deskutils/cal/Makefile27
1 files changed, 14 insertions, 13 deletions
diff --git a/deskutils/cal/Makefile b/deskutils/cal/Makefile
index 5b9dc31f61b8..23434d74a923 100644
--- a/deskutils/cal/Makefile
+++ b/deskutils/cal/Makefile
@@ -3,28 +3,29 @@
# Date created: 6 July 1996
# Whom: Andrey Zakhvatov <andy@cgu.chel.su>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/07/10 10:25:13 asami Exp $
#
-DISTNAME= cal-3.4
-CATEGORIES+= misc
-MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/utils/shell/
-MAINTAINER= andy@cgu.chel.su
+DISTNAME= cal-3.4
+CATEGORIES= misc
+MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/utils/shell/
-WRKSRC= ${WRKDIR}/cal34/source
-ALL_TARGET= cal
+MAINTAINER= andy@cgu.chel.su
+
+WRKSRC= ${WRKDIR}/cal34/source
+ALL_TARGET= cal
pre-patch:
- @ mv ${WRKSRC}/makefile.unx ${WRKSRC}/Makefile
+ @ /bin/mv ${WRKSRC}/makefile.unx ${WRKSRC}/Makefile
do-install:
- @ install -g bin -m 0111 -o bin ${WRKSRC}/cal ${PREFIX}/bin/cal
- @ install -g bin -m 0644 -o bin ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1
+ @${INSTALL_PROGRAM} ${WRKSRC}/cal ${PREFIX}/bin/cal
+ @${INSTALL_MAN} ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1
.if !defined{NOMANCOMPRESS}
@ gzip -9nf ${PREFIX}/man/man1/cal.1
.endif
- @ if [ ! -d ${PREFIX}/etc/cal ]; then mkdir ${PREFIX}/etc/cal; chmod 0755 ${PREFIX}/etc/cal; fi
- @ if [ ! -f ${PREFIX}/etc/cal/calcol ]; then install -g bin -m 0444 -o bin ${WRKDIR}/cal34/cal.col ${PREFIX}/etc/cal/calcol; fi
- @ if [ ! -f ${PREFIX}/etc/cal/caldat ]; then install -g bin -m 0444 -o bin ${WRKDIR}/cal34/cal.dat ${PREFIX}/etc/cal/caldat; fi
+ @ if [ ! -d ${PREFIX}/etc/cal ]; then ${MKDIR} ${PREFIX}/etc/cal; chmod 0755 ${PREFIX}/etc/cal; fi
+ @ if [ ! -f ${PREFIX}/etc/cal/calcol ]; then ${INSTALL_DATA} ${WRKDIR}/cal34/cal.col ${PREFIX}/etc/cal/calcol; fi
+ @ if [ ! -f ${PREFIX}/etc/cal/caldat ]; then ${INSTALL_DATA} ${WRKDIR}/cal34/cal.dat ${PREFIX}/etc/cal/caldat; fi
.include <bsd.port.mk>