aboutsummaryrefslogtreecommitdiff
path: root/comms/syncterm
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2007-07-30 01:41:20 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2007-07-30 01:41:20 +0000
commite9857005c12a48aaaf53c0156e32ad3d5057c587 (patch)
tree5540f4f44cf6cfe8dd47afb4b489db6abb49814c /comms/syncterm
parent30fdfc066e03d6e5a0f7b0df45aeabdaef2eda7c (diff)
downloadports-e9857005c12a48aaaf53c0156e32ad3d5057c587.tar.gz
ports-e9857005c12a48aaaf53c0156e32ad3d5057c587.zip
Notes
Diffstat (limited to 'comms/syncterm')
-rw-r--r--comms/syncterm/Makefile18
-rw-r--r--comms/syncterm/distinfo6
-rw-r--r--comms/syncterm/files/patch-GNUmakefile33
3 files changed, 42 insertions, 15 deletions
diff --git a/comms/syncterm/Makefile b/comms/syncterm/Makefile
index c83b6490a09d..f826013b4c29 100644
--- a/comms/syncterm/Makefile
+++ b/comms/syncterm/Makefile
@@ -7,7 +7,6 @@
PORTNAME= syncterm
PORTVERSION= 0.9.${PORTVER}
-PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,11 +21,13 @@ LIB_DEPENDS= cl:${PORTSDIR}/security/cryptlib
WRKSRC= ${WRKDIR}/syncterm-${PORTVER}
USE_GMAKE= yes
MAKEFILE= GNUmakefile
-PORTVER= 20070704
+PORTVER= 20070722
+MAN1= syncterm.1
+MANCOMPRESSED= yes
-OPTIONS= X11 "Build with X11 support" ON \
- SDL "Build with SDL support" ON \
- DEBUG "Build a debug version" OFF
+OPTIONS= X11 "Build with X11 support" on \
+ SDL "Build with SDL support" on \
+ DEBUG "Build a debug version" off
.include <bsd.port.pre.mk>
@@ -48,11 +49,4 @@ MAKE_ARGS+= DEBUG=1
MAKE_ARGS+= RELEASE=1
.endif
-do-install:
- ${MKDIR} ${DESKTOPDIR}/
- ${MKDIR} ${PREFIX}/share/icons/hicolor/64x64/apps/
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/syncterm.png ${PREFIX}/share/icons/hicolor/64x64/apps/
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/syncterm.desktop ${DESKTOPDIR}/
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/gcc.freebsd.exe.release/syncterm ${PREFIX}/bin/
-
.include <bsd.port.post.mk>
diff --git a/comms/syncterm/distinfo b/comms/syncterm/distinfo
index a4174c96eb9e..9e9324ecfae1 100644
--- a/comms/syncterm/distinfo
+++ b/comms/syncterm/distinfo
@@ -1,3 +1,3 @@
-MD5 (syncterm-src-20070704.tgz) = d9d78ebee0bd2630d73a345592939b33
-SHA256 (syncterm-src-20070704.tgz) = b9a46ef026bf4e5740fa2050ae9c1499e9897476ed8e201770d92200b0e92acb
-SIZE (syncterm-src-20070704.tgz) = 424897
+MD5 (syncterm-src-20070722.tgz) = 487466f242178da53a6dfdfb21ff7bb0
+SHA256 (syncterm-src-20070722.tgz) = 2981dc9223c835d372900d7b76e95ea0eccba92675e714c278568b1ab1abba22
+SIZE (syncterm-src-20070722.tgz) = 427655
diff --git a/comms/syncterm/files/patch-GNUmakefile b/comms/syncterm/files/patch-GNUmakefile
new file mode 100644
index 000000000000..89d4a12af06a
--- /dev/null
+++ b/comms/syncterm/files/patch-GNUmakefile
@@ -0,0 +1,33 @@
+--- syncterm/GNUmakefile.orig Sun Jul 22 20:47:36 2007
++++ syncterm/GNUmakefile Mon Jul 23 22:05:37 2007
+@@ -19,9 +19,9 @@
+
+ CFLAGS += -DPREFIX=\"${PREFIX}\"
+ ifeq ($(PREFIX),/usr)
+- MANPREFIX ?= /usr/share/man
++ MANPREFIX ?= /usr/share
+ else
+- MANPREFIX ?= $(PREFIX)/man
++ MANPREFIX ?= $(PREFIX)
+ endif
+
+ CFLAGS += $(UIFC-MT_CFLAGS) $(CIOLIB-MT_CFLAGS) $(XPDEV-MT_CFLAGS) -I../sbbs3 -I../smblib -I../comio
+@@ -51,15 +51,15 @@
+ installdirs:
+ -mkdir -p ${PREFIX}/bin
+ -mkdir -p ${DESKTOPDIR}
+- -mkdir -p ${PREFIX}/share/man/man1
++ -mkdir -p ${MANPREFIX}/man/man1
+ -mkdir -p ${PREFIX}/share/icons/hicolor/64x64/apps
+
+ install: $(SYNCTERM) syncterm.1.gz installdirs
+ @echo Installing...
+ ${INSTALL_EXE} ${SYNCTERM} ${PREFIX}/bin
+ ${INSTALL_DATA} syncterm.png ${PREFIX}/share/icons/hicolor/64x64/apps
+- ${INSTALL_DATA} syncterm.desktop ${PREFIX}/share/applications
+- ${INSTALL_DATA} syncterm.1.gz ${MANPREFIX}/man1
++ ${INSTALL_DATA} syncterm.desktop ${DESKTOPDIR}
++ ${INSTALL_DATA} syncterm.1.gz ${MANPREFIX}/man/man1
+
+ devel: tags cscope.out
+