diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-10-11 03:44:38 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-10-11 03:44:38 +0800 |
commit | 96233a73fde6b0900d0d8bdfd109203762fbb83a (patch) | |
tree | fe7178ce936d60941295adbba3697af0d7278465 /x11 | |
parent | ee4ace465986fbb6d83610b21418e89163f024f1 (diff) | |
download | freebsd-ports-gnome-96233a73fde6b0900d0d8bdfd109203762fbb83a.tar.gz freebsd-ports-gnome-96233a73fde6b0900d0d8bdfd109203762fbb83a.tar.zst freebsd-ports-gnome-96233a73fde6b0900d0d8bdfd109203762fbb83a.zip |
automatic install process
add a wrapper
PR: 42348
Submitted by: maintainer
Diffstat (limited to 'x11')
-rw-r--r-- | x11/decurs/Makefile | 17 | ||||
-rw-r--r-- | x11/decurs/files/decurs.exec | 4 | ||||
-rw-r--r-- | x11/decurs/pkg-plist | 3 |
3 files changed, 15 insertions, 9 deletions
diff --git a/x11/decurs/Makefile b/x11/decurs/Makefile index 4d1ad873971d..c5456662675f 100644 --- a/x11/decurs/Makefile +++ b/x11/decurs/Makefile @@ -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> diff --git a/x11/decurs/files/decurs.exec b/x11/decurs/files/decurs.exec new file mode 100644 index 000000000000..955f81c11feb --- /dev/null +++ b/x11/decurs/files/decurs.exec @@ -0,0 +1,4 @@ +#!/bin/sh + +cd %%DECURS_DIR%% +exec %%PREFIX%%/bin/decurs-real diff --git a/x11/decurs/pkg-plist b/x11/decurs/pkg-plist index d27670be846c..5d52b5585ebd 100644 --- a/x11/decurs/pkg-plist +++ b/x11/decurs/pkg-plist @@ -1 +1,4 @@ bin/decurs +bin/decurs-real +share/decurs/cursor.bdf +@dirrm share/decurs |