svn commit: r362044 - head/x11-wm/awesome2
Vanilla I. Shu
vanilla at FreeBSD.org
Wed Jul 16 07:36:29 UTC 2014
Author: vanilla
Date: Wed Jul 16 07:36:28 2014
New Revision: 362044
URL: http://svnweb.freebsd.org/changeset/ports/362044
QAT: https://qat.redports.org/buildarchive/r362044/
Log:
1: Statgify.
2: add LICENSE.
Modified:
head/x11-wm/awesome2/Makefile
head/x11-wm/awesome2/pkg-plist
Modified: head/x11-wm/awesome2/Makefile
==============================================================================
--- head/x11-wm/awesome2/Makefile Wed Jul 16 07:23:52 2014 (r362043)
+++ head/x11-wm/awesome2/Makefile Wed Jul 16 07:36:28 2014 (r362044)
@@ -11,6 +11,8 @@ DISTNAME= awesome-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= A tiling window manager initially based on a dwm code rewriting
+LICENSE= GPLv2
+
BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \
xmlto:${PORTSDIR}/textproc/xmlto
LIB_DEPENDS= libconfuse.so:${PORTSDIR}/devel/libconfuse \
@@ -26,20 +28,16 @@ USE_PYTHON_BUILD= yes
USE_XORG= x11 xft xext xinerama xt xrandr xproto
LDFLAGS+= -lX11 -lXext ${ICONV_LIB}
-MAN1= awesome2.1 \
+MAN1S= awesome2.1 \
awesome2-client.1 \
awesome2-menu.1 \
awesome2-message.1
-MAN5= awesome2rc.5
+MAN5S= awesome2rc.5
PORTDOCS= AUTHORS LICENSE README STYLE UPGRADE
PORTEXAMPLES= awesomerc
OPTIONS_DEFINE= DOCS EXAMPLES
-NO_STAGE= yes
-
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's, "$$(DESTDIR)$$(docdir)";,;,g' \
-e 's,\([[:space:]]\)install-docDATA ,\1,g' \
@@ -50,12 +48,12 @@ post-patch:
${WRKSRC}/configure
@${REINPLACE_CMD} -e "s,awesomerc,awesome2rc,g" \
${WRKSRC}/common/configopts.c
-. for man in ${MAN1} ${MAN5}
+.for man in ${MAN1S} ${MAN5S}
@${MV} ${WRKSRC}/${man:S%awesome2%awesome%}.txt ${WRKSRC}/${man}.txt
@${REINPLACE_CMD} -e 's,awesome,awesome2,g' \
-e 's,\~/\.awesome2,~/.awesome,g' \
${WRKSRC}/${man}.txt
-. endfor
+.endfor
post-configure:
@${REINPLACE_CMD} -E '/^awesome2_(message_)?LDADD/s/$$/ ${ICONV_LIB}/g; \
@@ -63,19 +61,15 @@ post-configure:
${WRKSRC}/Makefile
post-install:
-. if ${PORT_OPTIONS:MDOCS}
- @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
- @${MKDIR} ${DOCSDIR}
-. for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-. endfor
-. endif
-. if ${PORT_OPTIONS:MEXAMPLES}
- @${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}"
- @${MKDIR} ${EXAMPLESDIR}
-. for example in ${PORTEXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${example} ${EXAMPLESDIR}
-. endfor
-. endif
+ @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
+ @${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}"
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+.for example in ${PORTEXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${example} ${STAGEDIR}${EXAMPLESDIR}
+.endfor
.include <bsd.port.mk>
Modified: head/x11-wm/awesome2/pkg-plist
==============================================================================
--- head/x11-wm/awesome2/pkg-plist Wed Jul 16 07:23:52 2014 (r362043)
+++ head/x11-wm/awesome2/pkg-plist Wed Jul 16 07:36:28 2014 (r362044)
@@ -2,6 +2,11 @@ bin/awesome2
bin/awesome2-client
bin/awesome2-menu
bin/awesome2-message
+man/man1/awesome2.1.gz
+man/man1/awesome2-client.1.gz
+man/man1/awesome2-menu.1.gz
+man/man1/awesome2-message.1.gz
+man/man5/awesome2rc.5.gz
%%DATADIR%%/icons/awesome16.png
%%DATADIR%%/icons/awesome32.png
%%DATADIR%%/icons/awesome48.png
More information about the svn-ports-all
mailing list