diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-29 11:42:13 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-29 11:42:13 +0800 |
commit | f8a3557fefb7027a5d2a657c166cf7338f7f2a15 (patch) | |
tree | 14fe7dd5d9f5a4c4f360abef5ac93cda916ba6b6 | |
parent | e7627206d2c40a2ce6f0f4f7f5ad983275577949 (diff) | |
download | freebsd-ports-gnome-f8a3557fefb7027a5d2a657c166cf7338f7f2a15.tar.gz freebsd-ports-gnome-f8a3557fefb7027a5d2a657c166cf7338f7f2a15.tar.zst freebsd-ports-gnome-f8a3557fefb7027a5d2a657c166cf7338f7f2a15.zip |
[Maintainer-Update]: misc/lingoteach
Lingoteach update to 0.3.8
Many changes, see the homepage and release notes
PR: ports/51255
Submitted by: Marcus von Appen <mva@sysfault.org>
-rw-r--r-- | misc/lingoteach/Makefile | 40 | ||||
-rw-r--r-- | misc/lingoteach/distinfo | 4 | ||||
-rw-r--r-- | misc/lingoteach/pkg-plist | 22 |
3 files changed, 42 insertions, 24 deletions
diff --git a/misc/lingoteach/Makefile b/misc/lingoteach/Makefile index 112dd0c22cc7..7921c52343f3 100644 --- a/misc/lingoteach/Makefile +++ b/misc/lingoteach/Makefile @@ -6,8 +6,7 @@ # PORTNAME= lingoteach -PORTVERSION= 0.3.7 -PORTREVISION= 2 +PORTVERSION= 0.3.8 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -30,6 +29,14 @@ GNU_CONFIGURE= yes CONFIGURE_TARGET= "" USE_GMAKE= yes +.if defined(WITH_COMP) +CONFIGURE_ARGS+= --with-compression +.endif + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debug +.endif + .if defined(WITH_SOUND) PLIST= ${WRKDIR}/plist .endif @@ -38,28 +45,25 @@ SORT?= /usr/bin/sort .include <bsd.port.pre.mk> -.if !defined(WITH_SOUND) -pre-extract:: - @${ECHO_CMD} "************************************************" - @${ECHO_CMD} "* *" - @${ECHO_CMD} "* For Sound in Lingoteach, type Ctrl-C now and *" - @${ECHO_CMD} "* define WITH_SOUND=yes *" - @${ECHO_CMD} "* *" - @${ECHO_CMD} "************************************************" - @sleep 3 -.endif +pre-everything:: + @${ECHO_CMD} "" + @${ECHO_CMD} " Available options for lingoteach:" + @${ECHO_CMD} "" + @${ECHO_CMD} " WITH_SOUND download additional sounds" + @${ECHO_CMD} " for lingoteach" + @${ECHO_CMD} " WITH_COMP enable compression of data" + @${ECHO_CMD} " files" + @${ECHO_CMD} " WITH_DEBUG enable debugging" + @${ECHO_CMD} "" .if defined(WITH_SOUND) pre-install:: - cd ${WRKSRC}/src; ${ECHO_CMD} \ - "bin/`find . -type f -perm 755 |cut -c3-`" > ${PLIST}; \ + ${CAT} pkg-plist | ${SED} '/@dirrm/d' > ${WRKDIR}/plist; \ cd ${WRKDIR}/${PORTNAME}-sound-${PORTVERSION}/data; \ ${FIND} . -type f \! -name "Make*" | cut -c2- | \ ${SED} 's|^|${DATADIR:S,${PREFIX}/,,}/data|' \ | ${SORT} >> ${PLIST}; \ - cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/data; \ - ${FIND} . -type f \! -name "Make*" | cut -c2- | ${SED} \ - 's|^|${DATADIR:S,${PREFIX}/,,}/data|' | ${SORT} >> ${PLIST}; \ + ${CAT} ${WRKDIR}/../pkg-plist | ${GREP} '@dirrm include' >> ${PLIST}; \ cd ${WRKDIR}/${PORTNAME}-sound-${PORTVERSION}/data; \ ${FIND} . -type d | cut -c2- | ${SED} \ 's|^|@dirrm ${DATADIR:S,${PREFIX}/,,}/data|' | ${SORT} -r >> ${PLIST}; @@ -69,7 +73,7 @@ pre-install:: .if defined(WITH_SOUND) post-install:: cd ${WRKDIR}/${PORTNAME}-sound-${PORTVERSION}/data; \ - ${RM} Make*; \ + ${RM} -f Make*; \ ${CP} -R ${WRKDIR}/${PORTNAME}-sound-${PORTVERSION}/data \ ${DATADIR}; .endif diff --git a/misc/lingoteach/distinfo b/misc/lingoteach/distinfo index ace84341109d..6c802662fe7b 100644 --- a/misc/lingoteach/distinfo +++ b/misc/lingoteach/distinfo @@ -1,2 +1,2 @@ -MD5 (lingoteach-sound-0.3.7.tar.gz) = 13f008b67161fef001258582986b0997 -MD5 (lingoteach-0.3.7.tar.gz) = ac128bbf49b8e70fbe296aa9f71c5baf +MD5 (lingoteach-sound-0.3.8.tar.gz) = 981f0b5bfaf84b7dbf31c0a826130cf0 +MD5 (lingoteach-0.3.8.tar.gz) = a78626a2c5ec2c24b2270bd0a75f949d diff --git a/misc/lingoteach/pkg-plist b/misc/lingoteach/pkg-plist index 4284e673e8c2..62dc61fbb43b 100644 --- a/misc/lingoteach/pkg-plist +++ b/misc/lingoteach/pkg-plist @@ -1,8 +1,22 @@ -bin/lingoteach -share/lingoteach/data/rules.en.txt -share/lingoteach/data/lingoteach.dtd +bin/lingoteach-gtk +include/lingoteach/conf.h +include/lingoteach/data.h +include/lingoteach/iterator.h +include/lingoteach/language.h +include/lingoteach/lesson.h +include/lingoteach/meaning.h +include/lingoteach/sound.h +info/lingoteach.info +lib/liblingoteach.a +lib/liblingoteach.la +lib/liblingoteach.so +lib/liblingoteach.so.0 +share/lingoteach/data/basic.xml +share/lingoteach/data/freedict.xml share/lingoteach/data/language.dtd share/lingoteach/data/language.xml -share/lingoteach/data/basic.xml +share/lingoteach/data/lingoteach.dtd +share/lingoteach/data/rules.en.txt @dirrm share/lingoteach/data @dirrm share/lingoteach +@dirrm include/lingoteach |