1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Add LICENSE_FILE

- Switch to options helpers
- Switch to pkg-plist
This commit is contained in:
Dmitry Marakasov 2016-02-14 21:46:16 +00:00
parent d39e21d97b
commit 5b44db87b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408895
2 changed files with 18 additions and 15 deletions

View File

@ -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}

13
x11-wm/qlwm/pkg-plist Normal file
View File

@ -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