diff options
-rw-r--r-- | devel/libtecla/Makefile | 29 | ||||
-rw-r--r-- | devel/libtecla/distinfo | 2 | ||||
-rw-r--r-- | devel/libtecla/pkg-plist | 1 | ||||
-rw-r--r-- | devel/libtecla/scripts/genman3list.sh | 15 |
4 files changed, 31 insertions, 16 deletions
diff --git a/devel/libtecla/Makefile b/devel/libtecla/Makefile index 5baa3ea..da67c00 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 bd565ba..b14dd82 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 4981587..cf6ae55 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 0000000..8826316 --- /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 |