aboutsummaryrefslogtreecommitdiff
path: root/games/wmpuzzle/Makefile
blob: d835a0dcc480dc9c150a312f8aa7c5041250ee36 (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
38
39
40
41
42
43
44
# New ports collection makefile for:	wmpuzzle
# Date created:			15 May 2002
# Whom:				Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#

PORTNAME=	wmpuzzle
PORTVERSION=	0.2.0
CATEGORIES=	games windowmaker afterstep
MASTER_SITES=	http://www.godisch.de/debian/wmpuzzle/ \
		${MASTER_SITE_LOCAL:S/$/:bsdpics/}
MASTER_SITE_SUBDIR=	petef/:bsdpics
DISTFILES=	wmpuzzle_${PORTVERSION}.orig${EXTRACT_SUFX} \
		daemon.xpm:bsdpics
DIST_SUBDIR=	wmpuzzle
EXTRACT_ONLY=	wmpuzzle_${PORTVERSION}.orig${EXTRACT_SUFX}

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib -lgnugetopt"
USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_X_PREFIX=	yes
USE_XPM=	yes

MAN6=		wmpuzzle.6

BSDIMAGES=	daemon.xpm

post-extract:
.for i in ${BSDIMAGES}
	${CP} ${DISTDIR}/${DIST_SUBDIR}/$i ${WRKSRC}/
.endfor

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wmpuzzle ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/wmpuzzle.6 ${PREFIX}/man/man6

.include <bsd.port.mk>