aboutsummaryrefslogblamecommitdiffstats
path: root/polish/sap/Makefile
blob: ca1ba70de84319b2c856f509cb01830a2d54ee43 (plain) (tree)
1
2
3
4
5
6
7
8
9
10








                                                            
                                           



                                                                           




                                                                                                                                                                        
# Ports collection makefile for: sap
# Date created:     Fri 9 July 2004
# Whom:         Aleksander Fafula <alex@bsdguru.org>
#
# $FreeBSD$
#

PORTNAME=   sap
PORTVERSION=    0.2
CATEGORIES= polish
MASTER_SITES=   http://www.bsdguru.org/sap/
EXTRACT_SUFX=   .tgz

MAINTAINER= alex@bsdguru.org
COMMENT=    A command line Polish-English and English-Polish dictionary

do-configure:
    @${REINPLACE_CMD} -e 's|PREFIX=/usr|PREFIX=${PREFIX}|g' ${WRKSRC}/Makefile
    ${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' ${WRKSRC}/src/Makefile
    @${REINPLACE_CMD} -e 's|#define DICTIONARIES_DIRECTORY "/usr/lib/sap/"|#define DICTIONARIES_DIRECTORY "${PREFIX}/lib/sap/"|g' ${WRKSRC}/src/configuration.h_UNIX

.include <bsd.port.mk>