fix visibly broken dependencies, from naddy@. Thanks rob_ses@web.de for the

heads up
This commit is contained in:
lebel 2002-04-09 19:23:54 +00:00
parent 69a5bc5743
commit 3a4a33485a
5 changed files with 26 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2001/08/07 15:13:19 lebel Exp $
# $OpenBSD: Makefile,v 1.6 2002/04/09 19:23:54 lebel Exp $
COMMENT= "spell checker designed to eventually replace Ispell"
COMMENT-danish= "aspell dictionary for Danish"
@ -26,8 +26,6 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= aspell
LIB_DEPENDS= pspell-modules.1::textproc/pspell
# francais dictionary
FRENCH_DIST= aspell-dict-francais-0.05
MASTER_SITES0= http://dept-info.labri.u-bordeaux.fr/~vanicat/aspell/
@ -60,6 +58,14 @@ MULTI_PACKAGES= -french -swedish -dutch -danish
PKGNAME$i= aspell$i-${V}${SV}
.endfor
SUBPACKAGE?=
.if defined(PACKAGING) && !empty(SUBPACKAGE)
RUN_DEPENDS= ::textproc/aspell
.else
LIB_DEPENDS= pspell-modules.1::textproc/pspell
.endif
post-patch:
@patch -s -d ${WRKDIR}/${FRENCH_DIST} \
< ${FILESDIR}/patch-francais-Makefile
@ -67,34 +73,34 @@ post-patch:
post-build:
# francais
@echo "==> French dictionary"
@(cd ${WRKDIR}/${FRENCH_DIST}; ${MAKE_PROGRAM} WRKSRC=$(WRKSRC))
@cd ${WRKDIR}/${FRENCH_DIST}; ${MAKE_PROGRAM} WRKSRC=$(WRKSRC)
# swedish
@echo "==> Swedish dictionary"
@cp ${FILESDIR}/swedish-Makefile ${WRKDIR}/${SWEDISH_DIST}/Makefile
@(cd ${WRKDIR}/${SWEDISH_DIST}; ${MAKE_PROGRAM} WRKSRC=$(WRKSRC))
@cd ${WRKDIR}/${SWEDISH_DIST}; ${MAKE_PROGRAM} WRKSRC=$(WRKSRC)
# dutch
@echo "==> Dutch dictionary"
@cp ${FILESDIR}/dutch-Makefile \
${WRKDIR}/${DUTCH_DIST}/nl-aspell/Makefile
@(cd ${WRKDIR}/${DUTCH_DIST}/nl-aspell; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC))
@cd ${WRKDIR}/${DUTCH_DIST}/nl-aspell; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC)
# danish
@echo "==> Danish dictionary"
@cp ${FILESDIR}/danish-Makefile ${WRKDIR}/${DANISH_DIST}/Makefile
@(cd ${WRKDIR}/${DANISH_DIST}; ${MAKE_PROGRAM} WRKSRC=$(WRKSRC))
@cd ${WRKDIR}/${DANISH_DIST}; ${MAKE_PROGRAM} WRKSRC=$(WRKSRC)
post-install:
# francais
@(cd ${WRKDIR}/${FRENCH_DIST}; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC) install)
@cd ${WRKDIR}/${FRENCH_DIST}; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC) install
# swedish
@(cd ${WRKDIR}/${SWEDISH_DIST}; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC) install)
@cd ${WRKDIR}/${SWEDISH_DIST}; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC) install
# dutch
@(cd ${WRKDIR}/${DUTCH_DIST}/nl-aspell; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC) install)
@cd ${WRKDIR}/${DUTCH_DIST}/nl-aspell; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC) install
# danish
@(cd ${WRKDIR}/${DANISH_DIST}; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC) install)
@cd ${WRKDIR}/${DANISH_DIST}; \
${MAKE_PROGRAM} WRKSRC=$(WRKSRC) install
.include <bsd.port.mk>

View File

@ -1,5 +1,4 @@
@comment $OpenBSD: PLIST-danish,v 1.1.1.1 2001/05/23 21:25:43 lebel Exp $
@pkgdep aspell-*
@comment $OpenBSD: PLIST-danish,v 1.2 2002/04/09 19:23:54 lebel Exp $
lib/aspell/dansk
lib/aspell/danish
share/aspell/dansk.dat

View File

@ -1,5 +1,4 @@
@comment $OpenBSD: PLIST-dutch,v 1.1.1.1 2001/05/23 21:25:43 lebel Exp $
@pkgdep aspell-*
@comment $OpenBSD: PLIST-dutch,v 1.2 2002/04/09 19:23:54 lebel Exp $
lib/aspell/dutch
share/aspell/dutch.dat
share/pspell/nl-aspell.pwli

View File

@ -1,5 +1,4 @@
@comment $OpenBSD: PLIST-french,v 1.1.1.1 2001/05/23 21:25:43 lebel Exp $
@pkgdep aspell-*
@comment $OpenBSD: PLIST-french,v 1.2 2002/04/09 19:23:54 lebel Exp $
lib/aspell/francais
lib/aspell/french
share/aspell/francais.dat

View File

@ -1,5 +1,4 @@
@comment $OpenBSD: PLIST-swedish,v 1.2 2001/05/27 21:46:07 lebel Exp $
@pkgdep aspell-*
@comment $OpenBSD: PLIST-swedish,v 1.3 2002/04/09 19:23:54 lebel Exp $
lib/aspell/svenska
lib/aspell/swedish
share/aspell/swedish.dat