aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorshurd <shurd@FreeBSD.org>2015-08-15 18:33:03 +0800
committershurd <shurd@FreeBSD.org>2015-08-15 18:33:03 +0800
commitea3de7a46be280ceba14b5821ccd5bb56737b161 (patch)
treed93804271f44c4cb5e243e876e8ab3708f0195cf /comms
parent1a7668b05233a601843da5cc2ed42f9a4e15b3fd (diff)
downloadfreebsd-ports-gnome-ea3de7a46be280ceba14b5821ccd5bb56737b161.tar.gz
freebsd-ports-gnome-ea3de7a46be280ceba14b5821ccd5bb56737b161.tar.zst
freebsd-ports-gnome-ea3de7a46be280ceba14b5821ccd5bb56737b161.zip
Update to version 1.0
Clean up Makefile to use new options format Remove incorrect INSTALLS_ICONS usage
Diffstat (limited to 'comms')
-rw-r--r--comms/syncterm/Makefile56
-rw-r--r--comms/syncterm/distinfo4
2 files changed, 20 insertions, 40 deletions
diff --git a/comms/syncterm/Makefile b/comms/syncterm/Makefile
index 7a4110656cbd..00fafe34001c 100644
--- a/comms/syncterm/Makefile
+++ b/comms/syncterm/Makefile
@@ -2,63 +2,43 @@
# $FreeBSD$
PORTNAME= syncterm
-PORTVERSION= 0.9.${PORTVER}
-PORTREVISION= 2
+PORTVERSION= 1.0
CATEGORIES= comms
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.9.5
-DISTNAME= syncterm-src-${PORTVER}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= shurd@FreeBSD.org
COMMENT= ANSI-BBS terminal which supports telnet, rlogin, and SSH
LICENSE= GPLv2
-WRKSRC= ${WRKDIR}/syncterm-${PORTVER}/src/syncterm
+WRKSRC= ${WRKDIR}/syncterm-${PORTVERSION}/src/syncterm
USES= gmake tar:tgz
MAKEFILE= GNUmakefile
-MAKE_ARGS+= DONT_CLOBBER_CC=please
-PORTVER= 20140603
-INSTALLS_ICONS= yes
PLIST_FILES= bin/syncterm \
man/man1/syncterm.1.gz \
share/applications/syncterm.desktop \
share/icons/hicolor/64x64/apps/syncterm.png
+DISABLE_MAKE_JOBS= yes
+MAKE_ARGS+= WITHOUT_PORTAUDIO=yes
+MAKE_ARGS+= -C ${WRKSRC}
+MAKE_ARGS+= PREFIX="${PREFIX}"
+MAKE_ARGS+= INSTALL_EXE="${INSTALL_PROGRAM}"
+
OPTIONS_DEFINE= X11 SDL DEBUG
OPTIONS_DEFAULT= X11 SDL
-.include <bsd.port.options.mk>
+X11_USE= xorg=x11
+X11_MAKE_ARGS_OFF= NO_X=1
-ONLY_FOR_ARCHS= i386 amd64
-ONLY_FOR_ARCHS_REASON= does not configure except on i386 amd64
+SDL_USE= SDL=sdl
+SDL_MAKE_ARGS= USE_SDL=1
+SDL_MAKE_ARGS_OFF= WITHOUT_SDL=1
-.if ${ARCH} == "i386" || ${ARCH} == "amd64"
- LIB_DEPENDS+= libcl.so:${PORTSDIR}/security/cryptlib
- MAKE_ARGS+= CRYPTLIBINCLUDE=${LOCALBASE}/include
- MAKE_ARGS+= CRYPTLIBDIR=${LOCALBASE}/lib
-.else
- MAKE_ARGS+= WITHOUT_CRYPTLIB=yes
-.endif
-MAKE_ARGS+= WITHOUT_PORTAUDIO=yes
-MAKE_ARGS+= -C ${WRKSRC}
-MAKE_ARGS+= PREFIX="${PREFIX}"
-MAKE_ARGS+= INSTALL_EXE="${INSTALL_PROGRAM}"
-.if ${PORT_OPTIONS:MX11}
-USE_XORG= x11
-.else
-MAKE_ARGS+= NO_X=1
-.endif
-.if ${PORT_OPTIONS:MSDL}
-USE_SDL= sdl
-MAKE_ARGS+= USE_SDL=1
-.endif
-.if ${PORT_OPTIONS:MDEBUG}
-MAKE_ARGS+= DEBUG=1
-.else
-MAKE_ARGS+= RELEASE=1
-.endif
+DEBUG_MAKE_ARGS= DEBUG=1
+DEBUG_MAKE_ARGS_OFF= RELEASE=1
-pre-build:
- if ( nm -D ${LOCALBASE}/lib/libcl.so | ${GREP} 'U __stack_chk_fail_local' ) then echo "LDFLAGS+=-fstack-protector" >> ${WRKSRC}/localdefs.mk ; fi
+ONLY_FOR_ARCHS= i386 amd64
+ONLY_FOR_ARCHS_REASON= does not configure except on i386 amd64
.include <bsd.port.mk>
diff --git a/comms/syncterm/distinfo b/comms/syncterm/distinfo
index 78e4c87dd5b5..9f004fb80e6d 100644
--- a/comms/syncterm/distinfo
+++ b/comms/syncterm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (syncterm-src-20140603.tgz) = 6ef3a36ab1c106b7f1a390630d937f63371b3806243cfe49dee5658ad230db7e
-SIZE (syncterm-src-20140603.tgz) = 8153746
+SHA256 (syncterm-1.0.tgz) = e77f28580b22b6ea077ab377be15a35b5a965adb731cec9a71573647fe824b37
+SIZE (syncterm-1.0.tgz) = 8310619