summaryrefslogtreecommitdiff
path: root/comms/morse/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/morse/Makefile')
-rw-r--r--comms/morse/Makefile39
1 files changed, 21 insertions, 18 deletions
diff --git a/comms/morse/Makefile b/comms/morse/Makefile
index d2d71232532a..cbe502e80b3d 100644
--- a/comms/morse/Makefile
+++ b/comms/morse/Makefile
@@ -1,9 +1,6 @@
PORTNAME= morse
-PORTVERSION= 2.5
-PORTREVISION= 2
+DISTVERSION= 2.6
CATEGORIES= comms hamradio
-MASTER_SITES= http://www.catb.org/~esr/morse/ \
- LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Morse Code Trainer
@@ -12,27 +9,33 @@ WWW= http://www.catb.org/~esr/morse/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-PLIST_FILES= bin/morsec bin/QSO share/man/man1/QSO.1.gz share/man/man1/morsec.1.gz
+BUILD_DEPENDS= xmlto>0:textproc/xmlto
-OPTIONS_SINGLE= SOUND
-OPTIONS_SINGLE_SOUND= OSS X11 PULSEAUDIO
-OPTIONS_DEFAULT= OSS
+USE_GITLAB= yes
+GL_ACCOUNT= esr
+GL_PROJECT= morse-classic
-OSS_DESC= Beep using OSS (/dev/dsp)
-X11_DESC= Beep using X server
-PULSEAUDIO_DESC= Beep using Pulse Audio
+PLIST_FILES= bin/morsec \
+ bin/QSO \
+ share/man/man1/morsec.1.gz \
+ share/man/man1/QSO.1.gz
-OSS_MAKE_ARGS= DEVICE=OSS
+OPTIONS_DEFAULT= OSS
+OPTIONS_SINGLE= SOUND
+OPTIONS_SINGLE_SOUND= OSS PULSEAUDIO X11
-X11_MAKE_ARGS= DEVICE=X11
-X11_USES= xorg
-X11_USE= XORG=x11
-X11_CFLAGS= -I${LOCALBASE}/include
-X11_LDFLAGS= -L${LOCALBASE}/lib
+OSS_DESC= Beep using OSS (/dev/dsp)
+PULSEAUDIO_DESC= Beep using PulseAudio
+X11_DESC= Beep using X.Org Server
-PULSEAUDIO_MAKE_ARGS= DEVICE=PA
+OSS_MAKE_ARGS= DEVICE=OSS
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio
PULSEAUDIO_USES= pkgconfig
+PULSEAUDIO_MAKE_ARGS= DEVICE=PA
+X11_BROKEN= ./alarm.h:15:15: error: a parameter list without types is only allowed in a function definition
+X11_USES= localbase:ldflags xorg
+X11_USE= XORG=x11
+X11_MAKE_ARGS= DEVICE=X11
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/morse ${STAGEDIR}${PREFIX}/bin/morsec