diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-11 22:49:53 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-11 22:49:53 +0000 |
commit | c51c21d02617c9613b9f261371603e63167345e3 (patch) | |
tree | 196ea8556ea263dc6a66ab0623d2d8f8f416291b /misc/matrix-kmod/Makefile | |
parent | - Don't pretend we support anything older than perl 5.8.2. Support for (diff) |
- update DESTDIR / PREFIX / pkg-plist and unbreak this port
PR: ports/69516
Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com>
Approved by: maintainer timeout (18 days)
Diffstat (limited to 'misc/matrix-kmod/Makefile')
-rw-r--r-- | misc/matrix-kmod/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/misc/matrix-kmod/Makefile b/misc/matrix-kmod/Makefile index 85596c834fa6..2aaeff2f3010 100644 --- a/misc/matrix-kmod/Makefile +++ b/misc/matrix-kmod/Makefile @@ -7,14 +7,15 @@ PORTNAME= matrix PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://www.belousov.com/download/ PKGNAMESUFFIX= -kmod -MAINTAINER= strijar@urai.ru +MAINTAINER= strijar@urai.ru COMMENT= Screensaver for console (matrix_saver.ko) "Matrix" like -MAKE_ENV= DESTDIR="${PREFIX}/lib/matrix" +KMODDIR= ${PREFIX}/modules .include <bsd.port.pre.mk> @@ -22,11 +23,9 @@ MAKE_ENV= DESTDIR="${PREFIX}/lib/matrix" BROKEN= "Need FreeBSD 4.0 or above" .endif -.if ${OSVERSION} >= 500113 -BROKEN= "Installation fails" -.endif - -pre-install: - ${MKDIR} ${PREFIX}/lib/matrix/modules +do-install: + @${MKDIR} ${KMODDIR} + ${INSTALL_SCRIPT} ${FILESDIR}/matrix_saver.sh ${PREFIX}/etc/rc.d + ${INSTALL_SCRIPT} ${WRKSRC}/*.ko ${KMODDIR} .include <bsd.port.post.mk> |