#!/bin/sh
# $NetBSD: post-patch,v 1.2 1999/03/11 12:29:36 hwr Exp $

cd ${WRKSRC}
mv Makefile Makefile.orig
sed -e "s|@PREFIX@|${LOCALBASE}|" < Makefile.orig > Makefile
mv pdf.h pdf.h.orig
sed -e "s|@PREFIX@|${LOCALBASE}|" < pdf.h.orig > pdf.h
