2002-08-26 03:07:47 +02:00
|
|
|
# New ports collection makefile for: wmpuzzle
|
|
|
|
# Date created: 15 May 2002
|
|
|
|
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmpuzzle
|
2002-10-28 17:55:22 +01:00
|
|
|
PORTVERSION= 0.2.0
|
2002-08-26 03:07:47 +02:00
|
|
|
CATEGORIES= games windowmaker afterstep
|
2002-10-28 17:55:22 +01:00
|
|
|
MASTER_SITES= http://www.godisch.de/debian/wmpuzzle/ \
|
2002-08-26 03:07:47 +02:00
|
|
|
${MASTER_SITE_LOCAL:S/$/:bsdpics/}
|
|
|
|
MASTER_SITE_SUBDIR= petef/:bsdpics
|
|
|
|
DISTFILES= wmpuzzle_${PORTVERSION}.orig${EXTRACT_SUFX} \
|
2002-10-28 17:55:22 +01:00
|
|
|
daemon.xpm:bsdpics
|
2002-08-26 03:07:47 +02:00
|
|
|
DIST_SUBDIR= wmpuzzle
|
|
|
|
EXTRACT_ONLY= wmpuzzle_${PORTVERSION}.orig${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
2003-02-02 15:16:39 +01:00
|
|
|
|
2002-08-26 03:07:47 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_XPM= yes
|
2003-02-02 15:16:39 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2002-08-26 03:07:47 +02:00
|
|
|
|
|
|
|
MAN6= wmpuzzle.6
|
|
|
|
|
2002-10-28 17:55:22 +01:00
|
|
|
BSDIMAGES= daemon.xpm
|
2002-08-26 03:07:47 +02:00
|
|
|
|
2003-02-08 06:27:23 +01:00
|
|
|
CPPFLAGS= -I${X11BASE}/include
|
|
|
|
LDFLAGS= -L${X11BASE}/lib
|
2003-02-02 15:16:39 +01:00
|
|
|
|
|
|
|
.if !exists(/usr/include/getopt.h)
|
|
|
|
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
|
|
|
|
.endif
|
|
|
|
|
2002-08-26 03:07:47 +02:00
|
|
|
post-extract:
|
|
|
|
.for i in ${BSDIMAGES}
|
2003-02-02 15:16:39 +01:00
|
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}/
|
2002-08-26 03:07:47 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|