ports/59459: Update port: converters/tnef to 1.2.1

Rui Lopes rui at ruilopes.com
Wed Nov 19 10:40:17 UTC 2003


>Number:         59459
>Category:       ports
>Synopsis:       Update port: converters/tnef to 1.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 19 02:40:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rui Lopes
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD cheetah 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #3: Sat Oct 11 19:39:45 WEST 2003 root at cheetah:/usr/obj/usr/src/sys/DEBUGGER i386


	
>Description:
* Updated to 1.2.1 (now hosted at sourceforge)
* Added a x-test target that runs the tnef tests
* Make the comment fit on 70 chars
	
>How-To-Repeat:
	
>Fix:

	

--- tnef.patch begins here ---
# * Updated to 1.2.1 (now hosted at sourceforge)
# * Added a x-test target that runs the tnef tests
# * Make the comment fit on 70 chars
# -- Rui Lopes <rui at ruilopes.com>
diff -ruN tnef.orig/Makefile tnef/Makefile
--- tnef.orig/Makefile	Sun Nov 16 11:15:52 2003
+++ tnef/Makefile	Sun Nov 16 12:18:03 2003
@@ -6,18 +6,24 @@
 #
 
 PORTNAME=	tnef
-PORTVERSION=	1.1
+PORTVERSION=	1.2.1
 CATEGORIES=	converters mail
-MASTER_SITES=	http://world.std.com/~damned/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	tnef
 
 MAINTAINER=	cr at jcmax.com
-COMMENT=	Unpack data encapsulated into Microsoft Outlook's application/ms-tnef format
+COMMENT=	Unpack data encapsulated into MS Outlook's application/ms-tnef format
 
 GNU_CONFIGURE=	yes
+USE_GETOPT_LONG=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
 MAN1=	tnef.1
 
-pre-configure:
-	${MV} ${WRKSRC}/doc/tnef.3 ${WRKSRC}/doc/tnef.1
+# This target is intended to be run by the port maintainer.
+x-test: build
+.for dir in cmdline files
+	@cd ${WRKSRC}/tests/${dir} && ${MAKE} check-TESTS
+.endfor
 
 .include <bsd.port.mk>
diff -ruN tnef.orig/distinfo tnef/distinfo
--- tnef.orig/distinfo	Sun Nov 16 11:15:52 2003
+++ tnef/distinfo	Sun Nov 16 11:19:40 2003
@@ -1 +1 @@
-MD5 (tnef-1.1.tar.gz) = 56ab3407c4dedd433669942d6b0f3545
+MD5 (tnef-1.2.1.tar.gz) = 975e3dc0a592597b743af35934f6f1de
diff -ruN tnef.orig/files/patch-doc::Makefile.in tnef/files/patch-doc::Makefile.in
--- tnef.orig/files/patch-doc::Makefile.in	Sun Nov 16 11:15:52 2003
+++ tnef/files/patch-doc::Makefile.in	Thu Jan  1 01:00:00 1970
@@ -1,92 +0,0 @@
---- doc/Makefile.in.orig	Sun Oct 14 22:21:32 2001
-+++ doc/Makefile.in	Sun Oct 14 22:23:53 2001
-@@ -66,12 +66,12 @@
- RANLIB = @RANLIB@
- VERSION = @VERSION@
- 
--man_MANS = tnef.3
-+man_MANS = tnef.1
- EXTRA_DIST = file-format.tex $(man_MANS)
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
- CONFIG_CLEAN_FILES = 
--man3dir = $(mandir)/man3
-+man1dir = $(mandir)/man1
- MANS = $(man_MANS)
- 
- NROFF = nroff
-@@ -92,12 +92,12 @@
- 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
- 
- 
--install-man3:
--	$(mkinstalldirs) $(DESTDIR)$(man3dir)
--	@list='$(man3_MANS)'; \
-+install-man1:
-+	$(mkinstalldirs) $(DESTDIR)$(man1dir)
-+	@list='$(man1_MANS)'; \
- 	l2='$(man_MANS)'; for i in $$l2; do \
- 	  case "$$i" in \
--	    *.3*) list="$$list $$i" ;; \
-+	    *.1*) list="$$list $$i" ;; \
- 	  esac; \
- 	done; \
- 	for i in $$list; do \
-@@ -106,30 +106,30 @@
- 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
--	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
--	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
-+	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
-+	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
- 	done
- 
--uninstall-man3:
--	@list='$(man3_MANS)'; \
-+uninstall-man1:
-+	@list='$(man1_MANS)'; \
- 	l2='$(man_MANS)'; for i in $$l2; do \
- 	  case "$$i" in \
--	    *.3*) list="$$list $$i" ;; \
-+	    *.1*) list="$$list $$i" ;; \
- 	  esac; \
- 	done; \
- 	for i in $$list; do \
- 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
--	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
--	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
-+	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
-+	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
- 	done
- install-man: $(MANS)
- 	@$(NORMAL_INSTALL)
--	$(MAKE) $(AM_MAKEFLAGS) install-man3
-+	$(MAKE) $(AM_MAKEFLAGS) install-man1
- uninstall-man:
- 	@$(NORMAL_UNINSTALL)
--	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3
-+	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
- tags: TAGS
- TAGS:
- 
-@@ -173,7 +173,7 @@
- install-strip:
- 	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
- installdirs:
--	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man3
-+	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man1
- 
- 
- mostlyclean-generic:
-@@ -203,7 +203,7 @@
- 
- maintainer-clean: maintainer-clean-am
- 
--.PHONY: install-man3 uninstall-man3 install-man uninstall-man tags \
-+.PHONY: install-man1 uninstall-man1 install-man uninstall-man tags \
- distdir info-am info dvi-am dvi check check-am installcheck-am \
- installcheck install-exec-am install-exec install-data-am install-data \
- install-am install uninstall-am uninstall all-redirect all-am all \
diff -ruN tnef.orig/pkg-descr tnef/pkg-descr
--- tnef.orig/pkg-descr	Sun Nov 16 11:15:52 2003
+++ tnef/pkg-descr	Sun Nov 16 12:26:44 2003
@@ -12,7 +12,7 @@
 Written by:		Mark Simpson <damned at world.std.com>
 Based upon work by:	Thomas Boll <tb at boll.ch>
 
-WWW: http://world.std.com/~damned/software.html
+WWW: http://tnef.sourceforge.net/
 
 - Cyrus Rahman
 cr at jcmax.com
--- tnef.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list