aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-15 05:46:16 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-15 05:46:16 +0800
commit9841a6a3037d7c6ebff58aaeefa2f80a7602cb3c (patch)
treeb98c248a058b91da43b7bc3e0e738e8c13407d71 /x11-wm
parente441fd7c532135593d355979a8cc10c0768e9962 (diff)
downloadfreebsd-ports-gnome-9841a6a3037d7c6ebff58aaeefa2f80a7602cb3c.tar.gz
freebsd-ports-gnome-9841a6a3037d7c6ebff58aaeefa2f80a7602cb3c.tar.zst
freebsd-ports-gnome-9841a6a3037d7c6ebff58aaeefa2f80a7602cb3c.zip
- Add LICENSE_FILE
- Switch to options helpers - Switch to pkg-plist
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/qlwm/Makefile20
-rw-r--r--x11-wm/qlwm/pkg-plist13
2 files changed, 18 insertions, 15 deletions
diff --git a/x11-wm/qlwm/Makefile b/x11-wm/qlwm/Makefile
index f6835973be14..bbf648b8f612 100644
--- a/x11-wm/qlwm/Makefile
+++ b/x11-wm/qlwm/Makefile
@@ -11,30 +11,18 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Qt-based window manager
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
MAKE_JOBS_UNSAFE= yes
USE_QT4= corelib gui moc_build qmake_build
-OPTIONS_DEFINE= DOCS
-
PORTDOCS= CHANGES README
-PLIST_FILES= bin/qlwm \
- lib/qlwm/biff \
- lib/qlwm/dclock \
- lib/qlwm/files/appdefaults \
- lib/qlwm/files/button_left.xpm \
- lib/qlwm/files/button_right.xpm \
- lib/qlwm/files/defaults \
- lib/qlwm/files/menu.xpm \
- lib/qlwm/files/menuconfig \
- lib/qlwm/files/tiled.xpm \
- lib/qlwm/files/winlist.xpm \
- lib/qlwm/qlwm \
- man/man1/qlwm.1.gz
SUB_FILES= qlwm
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${ECHO} "QMAKE_LFLAGS= -lXext -lX11" >> /${WRKSRC}/src/qlwm.pro
@${REINPLACE_CMD} -e 's|/usr/local/qlwm|${PREFIX}/lib/qlwm|g ; \
@@ -52,6 +40,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/files/appdefaults ${STAGEDIR}${PREFIX}/lib/qlwm/files
${INSTALL_DATA} ${WRKSRC}/files/defaults ${STAGEDIR}${PREFIX}/lib/qlwm/files
${INSTALL_DATA} ${WRKSRC}/files/menuconfig ${STAGEDIR}${PREFIX}/lib/qlwm/files
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
diff --git a/x11-wm/qlwm/pkg-plist b/x11-wm/qlwm/pkg-plist
new file mode 100644
index 000000000000..950a8d487b16
--- /dev/null
+++ b/x11-wm/qlwm/pkg-plist
@@ -0,0 +1,13 @@
+bin/qlwm
+lib/qlwm/biff
+lib/qlwm/dclock
+lib/qlwm/files/appdefaults
+lib/qlwm/files/button_left.xpm
+lib/qlwm/files/button_right.xpm
+lib/qlwm/files/defaults
+lib/qlwm/files/menu.xpm
+lib/qlwm/files/menuconfig
+lib/qlwm/files/tiled.xpm
+lib/qlwm/files/winlist.xpm
+lib/qlwm/qlwm
+man/man1/qlwm.1.gz