mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Use ${PREFIX}
Create destination directories before install Set correct permissions
This commit is contained in:
parent
a11766759c
commit
076fb73065
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437
@ -2,8 +2,18 @@ DISTNAME= jetpack
|
||||
DISTFILES= jetpack.tar.Z
|
||||
USE_IMAKE= yes
|
||||
MASTER_SITES= ftp://iraun1.ira.uka.de/pub/x11/
|
||||
MAKE_FLAGS= PREFIX=${PREFIX} -f
|
||||
|
||||
pre-install:
|
||||
@mkdir -p ${PREFIX}/bin
|
||||
@mkdir -p ${PREFIX}/man/man6
|
||||
@mkdir -p ${PREFIX}/lib/jetpack
|
||||
@(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
install:
|
||||
@chown games ${PREFIX}/bin/jetpack
|
||||
@chmod u+s ${PREFIX}/bin/jetpack
|
||||
@chown games ${PREFIX}/lib/jetpack
|
||||
@chmod go+r ${PREFIX}/lib/jetpack/jetpack.lev000
|
||||
|
Loading…
Reference in New Issue
Block a user