diff options
-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 |