View | Details | Raw Unified | Return to bug 191242
Collapse All | Expand All

(-)tlf/Makefile (-7 / +6 lines)
Lines 13-33 Link Here
13
MAINTAINER=	db@FreeBSD.org
13
MAINTAINER=	db@FreeBSD.org
14
COMMENT=	Amateur Radio curses based logging program
14
COMMENT=	Amateur Radio curses based logging program
15
15
16
LICENSE=	GPLv2
17
16
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
17
USE_AUTOTOOLS=	autoconf libtool aclocal automake
19
USE_AUTOTOOLS=	autoconf aclocal automake
20
USES=		libtool
18
AUTOMAKE_ARGS=	--add-missing
21
AUTOMAKE_ARGS=	--add-missing
19
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--includedir="${LOCALBASE}/include" \
23
CPPFLAGS+=	-I${LOCALBASE}/include
21
		--libdir="${LOCALBASE}/lib"
24
LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib
22
LDFLAGS+=	${PTHREAD_LIBS}
23
25
24
OPTIONS_DEFINE=	HAMLIB
26
OPTIONS_DEFINE=	HAMLIB
25
HAMLIB_DESC=	Use hamlib
27
HAMLIB_DESC=	Use hamlib
26
OPTION_DEFAULT=	HAMLIB
28
OPTION_DEFAULT=	HAMLIB
27
29
28
MAN1=		tlf.1
29
30
NO_STAGE=	yes
31
.include <bsd.port.pre.mk>
30
.include <bsd.port.pre.mk>
32
31
33
.if ${PORT_OPTIONS:MHAMLIB}
32
.if ${PORT_OPTIONS:MHAMLIB}
(-)tlf/files/patch-configure.in (-22 / +3 lines)
Lines 1-25 Link Here
1
--- configure.in.orig	Wed Apr  5 03:22:01 2006
1
--- configure.in.orig	2007-12-19 04:59:39.000000000 -0800
2
+++ configure.in	Tue Nov 21 14:23:37 2006
2
+++ configure.in	2014-06-21 03:37:13.000000000 -0700
3
@@ -8,6 +8,10 @@
3
@@ -33,7 +33,7 @@
4
 AC_PROG_INSTALL
5
 AC_PROG_AWK
6
 
7
+CPPFLAGS="-I${includedir}"
8
+LDFLAGS="-L${libdir}"
9
+LIBS="-L${libdir} ${LIBS}"
10
+
11
 # Checks for header files.
12
 AC_HEADER_STDC
13
 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h unistd.h])
14
@@ -22,6 +26,7 @@
15
 #AC_CHECK_LIB(hamlib,main,,AC_MSG_ERROR([Hamradio control libraries (hamlib) not found! ABORTED!]))
16
 #AC_CHECK_HEADERS(hamlib/rig.h hamlib/riglist.h,,AC_MSG_ERROR([hamlib header(s) not found! ABORTED]))
17
 
18
+
19
 dnl Check if we want to link the Hamradio control libraries (hamlib)
20
 AC_ARG_ENABLE([hamlib],
21
 [  --enable-hamlib   Add support for hamradio control libraries],
22
@@ -33,7 +38,7 @@
23
 [wanthamlib=false])
4
 [wanthamlib=false])
24
 
5
 
25
 if test "x${wanthamlib}" != "xfalse"; then
6
 if test "x${wanthamlib}" != "xfalse"; then
(-)tlf/files/patch-doc_Makefile.am (+10 lines)
Line 0 Link Here
1
--- doc/Makefile.am.orig	2014-06-21 03:59:01.000000000 -0700
2
+++ doc/Makefile.am	2014-06-21 03:59:22.000000000 -0700
3
@@ -3,5 +3,5 @@
4
 CLEANFILES = *~
5
 
6
 install-data-local:
7
-	$(mkinstalldirs) $(pkgdatadir)/doc
8
-	install -m 0644 README $(pkgdatadir)/doc
9
+	$(mkinstalldirs) ${DESTDIR}$(pkgdatadir)/doc
10
+	install -m 0644 README ${DESTDIR}$(pkgdatadir)/doc
(-)tlf/files/patch-rules_Makefile.am (+40 lines)
Line 0 Link Here
1
--- rules/Makefile.am.orig	2014-06-21 04:03:17.000000000 -0700
2
+++ rules/Makefile.am	2014-06-21 04:03:54.000000000 -0700
3
@@ -6,20 +6,20 @@
4
 CLEANFILES = *~
5
 
6
 install-data-local:
7
-	$(mkinstalldirs) $(pkgdatadir)/rules
8
-	install -m 0644 arrldx_dx $(pkgdatadir)/rules
9
-	install -m 0644 arrldx_usa $(pkgdatadir)/rules
10
-	install -m 0644 arrlfd $(pkgdatadir)/rules
11
-	install -m 0644 arrlss $(pkgdatadir)/rules
12
-	install -m 0644 cqww $(pkgdatadir)/rules
13
-	install -m 0644 dxped $(pkgdatadir)/rules
14
-	install -m 0644 eusprint $(pkgdatadir)/rules
15
-	install -m 0644 lzdx $(pkgdatadir)/rules
16
-	install -m 0644 pacc_pa $(pkgdatadir)/rules
17
-	install -m 0644 pacc_dx $(pkgdatadir)/rules
18
-	install -m 0644 qso $(pkgdatadir)/rules
19
-	install -m 0644 spdx_dx $(pkgdatadir)/rules
20
-	install -m 0644 spdx_sp $(pkgdatadir)/rules
21
-	install -m 0644 ssa_mt $(pkgdatadir)/rules
22
-	install -m 0644 template $(pkgdatadir)/rules
23
-	install -m 0644 wpx $(pkgdatadir)/rules
24
+	$(mkinstalldirs) ${DESTDIR}$(pkgdatadir)/rules
25
+	install -m 0644 arrldx_dx ${DESTDIR}$(pkgdatadir)/rules
26
+	install -m 0644 arrldx_usa ${DESTDIR}$(pkgdatadir)/rules
27
+	install -m 0644 arrlfd ${DESTDIR}$(pkgdatadir)/rules
28
+	install -m 0644 arrlss ${DESTDIR}$(pkgdatadir)/rules
29
+	install -m 0644 cqww ${DESTDIR}$(pkgdatadir)/rules
30
+	install -m 0644 dxped ${DESTDIR}$(pkgdatadir)/rules
31
+	install -m 0644 eusprint ${DESTDIR}$(pkgdatadir)/rules
32
+	install -m 0644 lzdx ${DESTDIR}$(pkgdatadir)/rules
33
+	install -m 0644 pacc_pa ${DESTDIR}$(pkgdatadir)/rules
34
+	install -m 0644 pacc_dx ${DESTDIR}$(pkgdatadir)/rules
35
+	install -m 0644 qso ${DESTDIR}$(pkgdatadir)/rules
36
+	install -m 0644 spdx_dx ${DESTDIR}$(pkgdatadir)/rules
37
+	install -m 0644 spdx_sp ${DESTDIR}$(pkgdatadir)/rules
38
+	install -m 0644 ssa_mt ${DESTDIR}$(pkgdatadir)/rules
39
+	install -m 0644 template ${DESTDIR}$(pkgdatadir)/rules
40
+	install -m 0644 wpx ${DESTDIR}$(pkgdatadir)/rules
(-)tlf/files/patch-scripts_Makefile.am (+11 lines)
Line 0 Link Here
1
--- scripts/Makefile.am.orig	2014-06-21 04:11:09.000000000 -0700
2
+++ scripts/Makefile.am	2014-06-21 04:11:27.000000000 -0700
3
@@ -3,7 +3,7 @@
4
 CLEANFILES = *~
5
 
6
 install-exec-local:
7
-	install soundlog $(bindir)
8
+	install soundlog ${DESTDIR}$(bindir)
9
 
10
 uninstall:
11
 	rm -f $(bindir)/soundlog
(-)tlf/files/patch-share_Makefile.am (+26 lines)
Line 0 Link Here
1
--- share/Makefile.am.orig	2014-06-21 04:10:12.000000000 -0700
2
+++ share/Makefile.am	2014-06-21 04:10:22.000000000 -0700
3
@@ -4,14 +4,14 @@
4
 			spdxmults ssamults
5
 
6
 install-data-local:
7
-	install -m 0644 callmaster $(pkgdatadir)
8
-	install -m 0644 cty.dat $(pkgdatadir)
9
-	install -m 0644 logcfg.dat $(pkgdatadir)
10
-	install -m 0644 arrlsections $(pkgdatadir)
11
-	install -m 0644 ea_sections $(pkgdatadir)
12
-	install -m 0644 paccmults $(pkgdatadir)
13
-	install -m 0644 spdxmults $(pkgdatadir)
14
-	install -m 0644 ssamults $(pkgdatadir)
15
+	install -m 0644 callmaster ${DESTDIR}$(pkgdatadir)
16
+	install -m 0644 cty.dat ${DESTDIR}$(pkgdatadir)
17
+	install -m 0644 logcfg.dat ${DESTDIR}$(pkgdatadir)
18
+	install -m 0644 arrlsections ${DESTDIR}$(pkgdatadir)
19
+	install -m 0644 ea_sections ${DESTDIR}$(pkgdatadir)
20
+	install -m 0644 paccmults ${DESTDIR}$(pkgdatadir)
21
+	install -m 0644 spdxmults ${DESTDIR}$(pkgdatadir)
22
+	install -m 0644 ssamults ${DESTDIR}$(pkgdatadir)
23
 
24
 uninstall:
25
-	rm -rf $(pkgdatadir)
26
+	rm -rf ${DESTDIR}$(pkgdatadir)
(-)tlf/pkg-plist (+1 lines)
Lines 1-5 Link Here
1
bin/soundlog
1
bin/soundlog
2
bin/tlf
2
bin/tlf
3
man/man1/tlf.1.gz
3
%%DATADIR%%/arrlsections
4
%%DATADIR%%/arrlsections
4
%%DATADIR%%/callmaster
5
%%DATADIR%%/callmaster
5
%%DATADIR%%/cty.dat
6
%%DATADIR%%/cty.dat

Return to bug 191242