diff options
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/countdown/Makefile | 24 | ||||
-rw-r--r-- | deskutils/countdown/distinfo | 2 | ||||
-rw-r--r-- | deskutils/countdown/files/patch-Makefile | 23 | ||||
-rw-r--r-- | deskutils/countdown/pkg-descr | 3 |
5 files changed, 53 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 26a62277c8ad..0aa85e65b6c1 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -29,6 +29,7 @@ SUBDIR += conduit SUBDIR += conkyemail SUBDIR += conkyforecast + SUBDIR += countdown SUBDIR += cycle SUBDIR += dailystrips SUBDIR += deforaos-todo 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/ |