summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-13 07:25:32 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-13 07:25:32 +0000
commitccc0ead913625dd0af6158679d7dffde4804aac3 (patch)
tree86f9110e481026520a0612904713424548217601 /devel
parenttake maintainership (diff)
upgrade to 1.4.0
Diffstat (limited to 'devel')
-rw-r--r--devel/libtecla/Makefile29
-rw-r--r--devel/libtecla/distinfo2
-rw-r--r--devel/libtecla/pkg-plist1
-rw-r--r--devel/libtecla/scripts/genman3list.sh15
4 files changed, 31 insertions, 16 deletions
diff --git a/devel/libtecla/Makefile b/devel/libtecla/Makefile
index 5baa3ea65aaa..da67c000cc23 100644
--- a/devel/libtecla/Makefile
+++ b/devel/libtecla/Makefile
@@ -7,28 +7,27 @@
#
PORTNAME= libtecla
-PORTVERSION= 1.3.3
+PORTVERSION= 1.4.0
CATEGORIES= devel
MASTER_SITES= http://www.astro.caltech.edu/~mcs/tecla/
MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
-
WRKSRC= ${WRKDIR}/${PORTNAME}
-ALL_TARGET=
+ALL_TARGET= default
+SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
+ REALCURDIR="${.CURDIR}" \
+ PORTNAME="${PORTNAME}"
+
+post-extract:
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genman3list.sh
+
+post-clean:
+ @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
-MAN3= cfc_file_start.3 cfc_literal_escapes.3 cfc_set_check_fn.3 \
- cpl_add_completion.3 cpl_complete_word.3 cpl_file_completions.3 \
- cpl_last_error.3 cpl_list_completions.3 cpl_record_error.3 \
- del_CplFileConf.3 del_ExpandFile.3 del_GetLine.3 del_PathCache.3 \
- del_PcaPathConf.3 del_WordCompletion.3 ef_expand_file.3 \
- ef_last_error.3 ef_list_expansions.3 gl_change_terminal.3 \
- gl_customize_completion.3 \
- gl_get_line.3 libtecla.3 new_CplFileConf.3 new_ExpandFile.3 \
- new_GetLine.3 new_PathCache.3 new_PcaPathConf.3 new_WordCompletion.3 \
- pca_last_error.3 pca_lookup_file.3 pca_path_completions.3 \
- pca_scan_path.3 pca_set_check_fn.3 ppc_file_start.3 \
- ppc_literal_escapes.3
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.endif
.include <bsd.port.mk>
diff --git a/devel/libtecla/distinfo b/devel/libtecla/distinfo
index bd565bab1c0b..b14dd82a142c 100644
--- a/devel/libtecla/distinfo
+++ b/devel/libtecla/distinfo
@@ -1 +1 @@
-MD5 (libtecla-1.3.3.tar.gz) = e2418443eb2ba982a735330642ade4c6
+MD5 (libtecla-1.4.0.tar.gz) = 2ac0cf19042e69338cec83866273ff0f
diff --git a/devel/libtecla/pkg-plist b/devel/libtecla/pkg-plist
index 49815879ad23..cf6ae552793c 100644
--- a/devel/libtecla/pkg-plist
+++ b/devel/libtecla/pkg-plist
@@ -1,2 +1,3 @@
+bin/enhance
lib/libtecla.a
include/libtecla.h
diff --git a/devel/libtecla/scripts/genman3list.sh b/devel/libtecla/scripts/genman3list.sh
new file mode 100644
index 000000000000..88263165cafd
--- /dev/null
+++ b/devel/libtecla/scripts/genman3list.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# $FreeBSD$
+
+if [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then
+ exit
+fi
+
+${MKDIR} ${WRKDIRPREFIX}${REALCURDIR}
+exec > ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
+
+cd ${WRKDIRPREFIX}${REALCURDIR}/work/${PORTNAME}/man3
+echo "MAN3= \\"
+#echo *.3
+ls *.3 | sed 's,$,\\,'
+echo