mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
3 changed files with 15 additions and 9 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= decurs
|
PORTNAME= decurs
|
||||||
PORTVERSION= 0.50.1
|
PORTVERSION= 0.50.1
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= x11
|
CATEGORIES= x11
|
||||||
MASTER_SITES= http://www.hut.fi/~pvsavola/files/
|
MASTER_SITES= http://www.hut.fi/~pvsavola/files/
|
||||||
|
|
||||||
|
@ -19,14 +20,12 @@ USE_GNOMENG= yes
|
||||||
USE_GNOME= gtk12
|
USE_GNOME= gtk12
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
# The Makefile doesn't provide a install target
|
do-install:
|
||||||
post-install:
|
${INSTALL_PROGRAM} ${WRKSRC}/src/decurs ${X11BASE}/bin/decurs-real
|
||||||
@$(INSTALL) $(WRKSRC)/src/decurs $(X11BASE)/bin
|
@${MKDIR} ${DATADIR}
|
||||||
@$(ECHO) " ################################################"
|
${INSTALL_DATA} ${WRKSRC}/src/cursor.bdf ${DATADIR}
|
||||||
@$(ECHO) " To use this program, please copy "
|
${SED} -e "s|%%DECURS_DIR%%|${DATADIR}|; s|%%PREFIX%%|${PREFIX}|" \
|
||||||
@$(ECHO) " $(WRKSRC)/src/fonts/*.bdf"
|
${FILESDIR}/decurs.exec > ${WRKSRC}/decurs.exec
|
||||||
@$(ECHO) " somewhere else and invoke "$(PORTNAME)
|
${INSTALL_SCRIPT} ${WRKSRC}/decurs.exec ${X11BASE}/bin/decurs
|
||||||
@$(ECHO) " from that directory."
|
|
||||||
@$(ECHO) " ################################################"
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.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
|
||||||
|
bin/decurs-real
|
||||||
|
share/decurs/cursor.bdf
|
||||||
|
@dirrm share/decurs
|
||||||
|
|
Loading…
Add table
Reference in a new issue