aboutsummaryrefslogtreecommitdiff
path: root/deskutils/countdown
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2014-12-26 13:57:53 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2014-12-26 13:57:53 +0000
commit22c4f6555c2877c592e4111eb1fcecb8856c54ae (patch)
treee85f7b4e7f6415fce5ebe8ef5c45f6aa253c9bde /deskutils/countdown
parent8d8d775b8be5e57ef631209844e079a5df524841 (diff)
downloadports-22c4f6555c2877c592e4111eb1fcecb8856c54ae.tar.gz
ports-22c4f6555c2877c592e4111eb1fcecb8856c54ae.zip
Notes
Diffstat (limited to 'deskutils/countdown')
-rw-r--r--deskutils/countdown/Makefile24
-rw-r--r--deskutils/countdown/distinfo2
-rw-r--r--deskutils/countdown/files/patch-Makefile23
-rw-r--r--deskutils/countdown/pkg-descr3
4 files changed, 52 insertions, 0 deletions
diff --git a/deskutils/countdown/Makefile b/deskutils/countdown/Makefile
new file mode 100644
index 000000000000..dace2f4210ac
--- /dev/null
+++ b/deskutils/countdown/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= countdown
+PORTVERSION= 20140814
+CATEGORIES= deskutils
+MASTER_SITES= http://acme.com/software/countdown/
+DISTNAME= ${PORTNAME}_14Aug2014
+
+MAINTAINER= neel@neelc.org
+COMMENT= Counts down a specified time interval, beeps, then exits
+
+LICENSE= BSD2CLAUSE
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_FILES= bin/countdown man/man1/countdown.1.gz
+
+MAKEFILE= /dev/null
+ALL_TARGET= ${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/countdown ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/countdown.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/countdown.1
+
+.include <bsd.port.mk>
diff --git a/deskutils/countdown/distinfo b/deskutils/countdown/distinfo
new file mode 100644
index 000000000000..e899fc42c825
--- /dev/null
+++ b/deskutils/countdown/distinfo
@@ -0,0 +1,2 @@
+SHA256 (countdown_14Aug2014.tar.gz) = 2815b38bca4411faaf3ec73412efd9b7e92d3fdf0e727e863d00db785ea60f3b
+SIZE (countdown_14Aug2014.tar.gz) = 2215
diff --git a/deskutils/countdown/files/patch-Makefile b/deskutils/countdown/files/patch-Makefile
new file mode 100644
index 000000000000..d7d7abc97e97
--- /dev/null
+++ b/deskutils/countdown/files/patch-Makefile
@@ -0,0 +1,23 @@
+--- Makefile.orig 2014-08-11 15:16:15.000000000 -0400
++++ Makefile 2014-09-29 11:58:53.471412866 -0400
+@@ -1,15 +1,14 @@
+ # Makefile for countdown
+
+-BINDIR = /usr/local/bin
+-MANDIR = /usr/local/man/man1
+-CC = cc
+-CFLAGS = -O -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
+-LDFLAGS = -s
++BINDIR= /usr/local/bin
++MANDIR= /usr/local/man/man1
++CC?= cc
++CFLAGS+= -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
+
+ all: countdown
+
+ countdown: countdown.c
+- $(CC) $(CFLAGS) countdown.c $(LDFLAGS) -o countdown
++ $(CC) $(CFLAGS) countdown.c -o countdown
+
+
+ install: all
diff --git a/deskutils/countdown/pkg-descr b/deskutils/countdown/pkg-descr
new file mode 100644
index 000000000000..0aa92e21e3cc
--- /dev/null
+++ b/deskutils/countdown/pkg-descr
@@ -0,0 +1,3 @@
+This program counts down a specified time interval, then beeps and exits.
+
+WWW: http://www.acme.com/software/countdown/