aboutsummaryrefslogtreecommitdiff
path: root/x11/decurs/Makefile
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/Makefile
parent6528a3f9ff914310b50f9d4bec576a7773b6ee73 (diff)
downloadports-ed491dbaef8b9ca4fc1a91f1be506ba895d530d9.tar.gz
ports-ed491dbaef8b9ca4fc1a91f1be506ba895d530d9.zip
Notes
Diffstat (limited to 'x11/decurs/Makefile')
-rw-r--r--x11/decurs/Makefile17
1 files changed, 8 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>