aboutsummaryrefslogtreecommitdiff
path: root/x11/decurs
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-10 19:44:38 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-10 19:44:38 +0000
commited491dbaef8b9ca4fc1a91f1be506ba895d530d9 (patch)
tree5402b402bdcfc04672f73aa32abb35aefc541e8c /x11/decurs
parent6528a3f9ff914310b50f9d4bec576a7773b6ee73 (diff)
downloadports-ed491dbaef8b9ca4fc1a91f1be506ba895d530d9.tar.gz
ports-ed491dbaef8b9ca4fc1a91f1be506ba895d530d9.zip
Notes
Diffstat (limited to 'x11/decurs')
-rw-r--r--x11/decurs/Makefile17
-rw-r--r--x11/decurs/files/decurs.exec4
-rw-r--r--x11/decurs/pkg-plist3
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