2007-09-28 01:55:09 +02:00
|
|
|
# New ports collection makefile for: awesome
|
|
|
|
# Date created: September 26, 2007
|
|
|
|
# Whom: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= awesome
|
2008-09-24 16:54:20 +02:00
|
|
|
PORTVERSION= 2.3.4
|
2007-09-28 01:55:09 +02:00
|
|
|
CATEGORIES= x11-wm
|
|
|
|
MASTER_SITES= http://awesome.naquadah.org/download/
|
|
|
|
|
|
|
|
MAINTAINER= ntarmos@ceid.upatras.gr
|
2007-12-12 19:58:57 +01:00
|
|
|
COMMENT= A tiling window manager initially based on a dwm code rewriting
|
2007-09-28 01:55:09 +02:00
|
|
|
|
2007-12-12 19:58:57 +01:00
|
|
|
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
|
2007-09-28 01:55:09 +02:00
|
|
|
|
2008-04-25 14:54:54 +02:00
|
|
|
USE_ICONV= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2008-05-23 15:19:33 +02:00
|
|
|
USE_EFL= imlib2
|
|
|
|
USE_GNOME= pango
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xft xext xinerama xt xrandr xproto
|
2007-09-28 01:55:09 +02:00
|
|
|
|
2007-12-12 19:58:57 +01:00
|
|
|
MAN1= awesome.1 \
|
2008-04-25 14:54:54 +02:00
|
|
|
awesome-client.1 \
|
2008-05-21 13:56:55 +02:00
|
|
|
awesome-menu.1 \
|
2008-04-25 14:54:54 +02:00
|
|
|
awesome-message.1
|
|
|
|
MAN5= awesomerc.5
|
|
|
|
PORTDOCS= AUTHORS LICENSE README STYLE UPGRADE
|
2007-09-28 01:55:09 +02:00
|
|
|
PORTEXAMPLES= awesomerc
|
|
|
|
|
2008-05-26 15:13:22 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's, "$$(DESTDIR)$$(docdir)";,;,g' \
|
|
|
|
-e 's,\([[:space:]]\)install-docDATA ,\1,g' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2008-04-25 14:54:54 +02:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -E '/^awesome_(message_)?LDADD/s/$$/ -liconv/g; \
|
|
|
|
/^doc_DATA/s/=.*$$/=/g' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
2007-09-28 01:55:09 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2008-04-25 14:54:54 +02:00
|
|
|
. for doc in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
|
|
. endfor
|
2007-09-28 01:55:09 +02:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2008-04-25 14:54:54 +02:00
|
|
|
. for example in ${PORTEXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${example} ${EXAMPLESDIR}
|
|
|
|
. endfor
|
2007-09-28 01:55:09 +02:00
|
|
|
.endif
|
|
|
|
|
2007-12-12 19:58:57 +01:00
|
|
|
.include <bsd.port.mk>
|