aboutsummaryrefslogtreecommitdiffstats
path: root/misc/wmwork/Makefile
blob: 6d70d01b9000dceb6349b641ffeca0ef44284511 (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
36
37
# New ports collection makefile for:    wmwork
# Date created:         16 May 2002
# Whom:             Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#

PORTNAME=   wmwork
PORTVERSION=    0.2.5
PORTREVISION=   1
CATEGORIES= misc windowmaker afterstep
MASTER_SITES=   http://www.godisch.de/debian/wmwork/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A dockapp that keeps track of time you have spent on something

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

USE_X_PREFIX=   yes
USE_XPM=    yes
USE_GETOPT_LONG=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=       wmwork.1
PLIST_FILES=    bin/wmwork

CPPFLAGS+=  -I${X11BASE}/include
LDFLAGS+=   -L${X11BASE}/lib

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wmwork ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/wmwork.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>