1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/x11-wm/awesome2/Makefile
Martin Wilke df0d3a1a8d - Update to 2.3.4
PR:		127272
Submitted by:	Nikos Ntarmos <ntarmos@ceid.upatras.gr> (maintainer)
2008-09-24 14:54:20 +00:00

63 lines
1.6 KiB
Makefile

# New ports collection makefile for: awesome
# Date created: September 26, 2007
# Whom: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
#
# $FreeBSD$
#
PORTNAME= awesome
PORTVERSION= 2.3.4
CATEGORIES= x11-wm
MASTER_SITES= http://awesome.naquadah.org/download/
MAINTAINER= ntarmos@ceid.upatras.gr
COMMENT= A tiling window manager initially based on a dwm code rewriting
BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \
xmlto:${PORTSDIR}/textproc/xmlto
LIB_DEPENDS= confuse.0:${PORTSDIR}/devel/libconfuse \
cairo.2:${PORTSDIR}/graphics/cairo \
freetype.9:${PORTSDIR}/print/freetype2
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_EFL= imlib2
USE_GNOME= pango
USE_XORG= x11 xft xext xinerama xt xrandr xproto
MAN1= awesome.1 \
awesome-client.1 \
awesome-menu.1 \
awesome-message.1
MAN5= awesomerc.5
PORTDOCS= AUTHORS LICENSE README STYLE UPGRADE
PORTEXAMPLES= awesomerc
post-patch:
@${REINPLACE_CMD} -e 's, "$$(DESTDIR)$$(docdir)";,;,g' \
-e 's,\([[:space:]]\)install-docDATA ,\1,g' \
${WRKSRC}/Makefile.in
post-configure:
@${REINPLACE_CMD} -E '/^awesome_(message_)?LDADD/s/$$/ -liconv/g; \
/^doc_DATA/s/=.*$$/=/g' \
${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
. for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
. endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}"
@${MKDIR} ${EXAMPLESDIR}
. for example in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${example} ${EXAMPLESDIR}
. endfor
.endif
.include <bsd.port.mk>