1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/devel/aegis/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

68 lines
1.8 KiB
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= aegis
PORTVERSION= 4.24.3
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= aryeh.friedman@gmail.com
COMMENT= Transaction-based software configuration management system
LICENSE= GPLv3
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
RUN_DEPENDS= tkdiff:${PORTSDIR}/textproc/tkdiff
USES= gettext perl5 tk
USE_GNOME= libxml2
USE_GCC= any
GNU_CONFIGURE= yes
CPPFLAGS+= "-I${LOCALBASE}/include"
CONFIGURE_ARGS= --with-nlsdir="${PREFIX}/share/locale"
CONFIGURE_ENV= WISH="${WISH}"
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
# XXX Manpages are installed into ${DATADIR} too -- there's no easy way to
# stop this because we don't have Makefile.am provided. Maintainer will
# sort this with upstream.
PORTDATA= *
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
# Avoid "2>/dev/null" redirect in csh (ends up with empty manpath).
@${REINPLACE_CMD} -Ee 's|(MANPATH_PROG) 2>/dev/null|\1|' \
${WRKSRC}/configure
# Fix path to Tk interpreter.
@cd ${WRKSRC}/script && ${REINPLACE_CMD} -e 's|wish |${WISH} |' \
aebuffy.in aecomp.in aexver.in tkaeca.in tkaegis.in tkaenc.in \
tkaepa.in tkaer.in xaegis.in
# Import global variable "datadir" inside function (not found otherwise).
@${REINPLACE_CMD} -e 's|global lib|& datadir|' \
${WRKSRC}/script/xaegis.in
post-configure:
.if empty(PORT_OPTIONS:MNLS)
${REINPLACE_CMD} -e 's|HAVE_MSGFMT = yes|HAVE_MSGFMT = no|' \
${WRKSRC}/Makefile
.endif
post-install:
.for dir in de en
${MKDIR} ${STAGEDIR}${DOCSDIR}/${dir}
cd ${WRKSRC}/lib/${dir} && ${INSTALL_DATA} *.ps *.txt ${STAGEDIR}${DOCSDIR}/${dir}
.endfor
# Fails to reinstall because keeps track of created directories, so make it
# forget that, by recreating them on each install.
@${FIND} ${WRKSRC} -type f -name ".*dir" -delete
.include <bsd.port.mk>