mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
9e82245fdd
* declare USE_XLIB when XFree86 is installed and NO_X11 is not defined. * fix configure.in more to use built-in ncurses if exist, and turn on USE_AUTOCONF. * remove patches already obsoleted by USE_LIBTOOL. PR: 17004 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
39 lines
789 B
Makefile
39 lines
789 B
Makefile
# New ports collection makefile for: aalib
|
|
# Version required: 1.2
|
|
# Date created: 9 Dec 1997
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= aalib-1.2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.ta.jcu.cz/pub/aa/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_AUTOCONF= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
#
|
|
# Support for X11 is compiled in by default only if X11 is installed.
|
|
#
|
|
.if !exists(${X11BASE})
|
|
NO_X11?= yes
|
|
.endif
|
|
.if !defined(NO_X11)
|
|
USE_XLIB=YES
|
|
CONFIGURE_ARGS= --with-x --x-includes="${X11BASE}/include" \
|
|
--x-libraries="${X11BASE}/lib"
|
|
.else
|
|
CONFIGURE_ARGS= --with-x11-driver=no
|
|
.endif
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s:/usr/local:${LOCALBASE}:g;" ${WRKSRC}/configure.in
|
|
|
|
post-install:
|
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|