mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3ab306e890
consider that there are two versions of freetype in the ports tree. Bad /me, no cookie.
38 lines
1021 B
Makefile
38 lines
1021 B
Makefile
# New ports collection makefile for: flwm
|
|
# Date created: 12 February 1999
|
|
# Whom: Dima Sivachenko <dima@chg.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= flwm
|
|
PORTVERSION= 1.00
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://flwm.sourceforge.net/ \
|
|
http://www.cinenet.net/users/spitzak/flwm/ \
|
|
ftp://ftp.sai.msu.su/pub/X11/win_man/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= gj@FreeBSD.org
|
|
COMMENT= The Fast Light Window Manager
|
|
|
|
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
|
|
|
MAKE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS}
|
|
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
MAN1= flwm.1
|
|
PLIST_FILES= bin/flwm
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# could be a problem if both versions of freetype are installed
|
|
.if exists(${LOCALBASE}/include/freetype1/freetype/freetype.h)
|
|
CONFIGURE_ARGS= --includedir="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype1"
|
|
.elif exists(${LOCALBASE}/include/freetype2/freetype/freetype.h)
|
|
CONFIGURE_ARGS= --includedir="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|