PR: ports/8786

Submitted by:	handy@physics.montana.edu
Initial Import astime.
Time/Date applet.
This commit is contained in:
Seiichirou Hiraoka 1998-11-22 13:40:16 +00:00
parent cd2bb05618
commit e925ea6e94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14759
6 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# New ports collection makefile for: astime
# Version required: 1.0
# Date created: 21 Nov 1998
# Whom: Brian Handy <handy@physics.montana.edu>
#
# $Id:$
#
DISTNAME= astime-1.0
CATEGORIES= x11-clocks
MASTER_SITES= http://bewoner.dma.be/Albert/linux/software/
MAINTAINER= ports@freebsd.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_X_PREFIX= yes
MAN1= astime.1
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (astime-1.0.tar.gz) = d577e066d9b59461441a5da1d3a61340

View file

@ -0,0 +1,37 @@
--- Makefile.orig Fri Nov 13 00:39:24 1998
+++ Makefile Sun Nov 22 22:31:45 1998
@@ -1,7 +1,7 @@
#-----------------------------------------------------
# The locations where this program should be installed
-INSTALL_X_DIR=/usr/local/bin
-MAN_DIR=/usr/local/man/man1
+INSTALL_X_DIR=${PREFIX}/bin
+MAN_DIR=${PREFIX}/man/man1
# The location and names of the X11 libraries
LDIR = -L/usr/X11R6/lib
@@ -39,20 +39,20 @@
install:
@echo Installing astime in $(INSTALL_X_DIR) ...
- -@strip astime
+ -@/usr/libexec/${PORTOBJFORMAT}/strip astime
-@if [ -e $(INSTALL_X_DIR)/astime ] ; then rm $(INSTALL_X_DIR)/astime; fi
@cp astime $(INSTALL_X_DIR)/astime
@chmod 755 $(INSTALL_X_DIR)/astime
@echo Installing the man page in $(MAN_DIR) ...
- @cp astime.man $(MAN_DIR)/astime.1x
- @chmod 644 $(MAN_DIR)/astime.1x
+ @cp astime.man $(MAN_DIR)/astime.1
+ @chmod 644 $(MAN_DIR)/astime.1
@echo Done.
uninstall:
@echo Uninstalling astime in $(INSTALL_X_DIR) ...
-@if [ -e $(INSTALL_X_DIR)/astime ] ; then rm $(INSTALL_X_DIR)/astime; fi
@echo Uninstalling the man page in $(MAN_DIR) ...
- -@if [ -e $(MAN_DIR)/astime.1x ] ; then rm $(MAN_DIR)/astime.1x; fi
+ -@if [ -e $(MAN_DIR)/astime.1 ] ; then rm $(MAN_DIR)/astime.1; fi
@echo Done.
clean:

View file

@ -0,0 +1 @@
Time/Date applet for WindowMaker.

View file

@ -0,0 +1,5 @@
This is a very nice clock that runs in the WindowMaker "dock". Either
digital or analog clock faces can be specified.
- Rich
rneswold@mcs.net

View file

@ -0,0 +1 @@
bin/astime