aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/pclock/Makefile
blob: 8102b456644eae0095de41c329a77836aa43b6ba (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
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    pclock
# Date created:         15 Apr 1999
# Whom:             Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pclock
PORTVERSION=    0.13.1
PORTREVISION=   1
CATEGORIES= x11-clocks windowmaker afterstep
MASTER_SITES=   ${MASTER_SITE_DEBIAN_POOL}
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple analog clock program for the Window Maker dock

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig/src

USE_X_PREFIX=   yes
USE_XPM=    yes
USE_GETOPT_LONG=    yes
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}" OBJS="Main.o Graphics.o" \
        INCDIR="-I. -I${X11BASE}/include ${CPPFLAGS}" \
        LIBDIR="-L${X11BASE}/lib ${LDFLAGS}"

post-extract:
    cd ${WRKSRC} && ${RM} -f getopt*

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pclock ${PREFIX}/bin
    @${MKDIR} ${DATADIR}/pixmaps
    ${INSTALL_DATA} ${WRKSRC}/../XPM/*.xpm ${DATADIR}/pixmaps

.include <bsd.port.mk>