1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/polish/sap/Makefile
Pav Lucistnik 2facd142e6 - Update master site (fix fetching)
PR:		ports/73750
Submitted by:	Aleksander Fafula <alex@fafula.com> (maintainer)
2004-11-10 00:02:28 +00:00

25 lines
704 B
Makefile

# 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
USE_REINPLACE= yes
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>