mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
automatic install process
add a wrapper PR: 42348 Submitted by: maintainer
This commit is contained in:
parent
6528a3f9ff
commit
ed491dbaef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67767
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= decurs
|
||||
PORTVERSION= 0.50.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://www.hut.fi/~pvsavola/files/
|
||||
|
||||
@ -19,14 +20,12 @@ USE_GNOMENG= yes
|
||||
USE_GNOME= gtk12
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
# The Makefile doesn't provide a install target
|
||||
post-install:
|
||||
@$(INSTALL) $(WRKSRC)/src/decurs $(X11BASE)/bin
|
||||
@$(ECHO) " ################################################"
|
||||
@$(ECHO) " To use this program, please copy "
|
||||
@$(ECHO) " $(WRKSRC)/src/fonts/*.bdf"
|
||||
@$(ECHO) " somewhere else and invoke "$(PORTNAME)
|
||||
@$(ECHO) " from that directory."
|
||||
@$(ECHO) " ################################################"
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/decurs ${X11BASE}/bin/decurs-real
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/cursor.bdf ${DATADIR}
|
||||
${SED} -e "s|%%DECURS_DIR%%|${DATADIR}|; s|%%PREFIX%%|${PREFIX}|" \
|
||||
${FILESDIR}/decurs.exec > ${WRKSRC}/decurs.exec
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/decurs.exec ${X11BASE}/bin/decurs
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
4
x11/decurs/files/decurs.exec
Normal file
4
x11/decurs/files/decurs.exec
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd %%DECURS_DIR%%
|
||||
exec %%PREFIX%%/bin/decurs-real
|
@ -1 +1,4 @@
|
||||
bin/decurs
|
||||
bin/decurs-real
|
||||
share/decurs/cursor.bdf
|
||||
@dirrm share/decurs
|
||||
|
Loading…
Reference in New Issue
Block a user