aboutsummaryrefslogtreecommitdiffstats
path: root/astro/stardates/Makefile
blob: ddf5201ed6affde03c3b417c99401c5705299abc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Created by: freebsd-ports@henrik.synth.no
# $FreeBSD$

PORTNAME=   stardates
PORTVERSION=    1.6.1
CATEGORIES= astro
MASTER_SITES=   ftp://ftp.cc.umanitoba.ca/startrek/stardates-pgms/ \
        http://trek.starshine.org/downlink/utilities/ \
        http://trek-stage.parts-unknown.org/downlink/

MAINTAINER= freebsd-ports@henrik.synth.no
COMMENT=    Displays date in 5 formats (including stardate of course)

PLIST_FILES=    bin/stardate man/man1/stardate.1.gz

do-build:
    ${CC} ${CFLAGS} ${WRKSRC}/stardate.c -o ${WRKSRC}/stardate

do-install:
    ${INSTALL} ${WRKSRC}/stardate ${STAGEDIR}${PREFIX}/bin
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/stardate
    ${INSTALL_MAN} ${WRKSRC}/stardate.1 \
        ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.mk>