use sed instead of perl

This commit is contained in:
jasper 2015-07-18 14:33:25 +00:00
parent 85a7246cce
commit d2a4520ea8

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.38 2015/05/28 10:17:22 pascal Exp $ # $OpenBSD: Makefile,v 1.39 2015/07/18 14:33:25 jasper Exp $
COMMENT= free open source planetarium COMMENT= free open source planetarium
@ -38,8 +38,7 @@ PORTHOME= ${WRKDIR}
NO_TEST= Yes NO_TEST= Yes
pre-configure: pre-configure:
perl -pi -e 's,/usr/local,${LOCALBASE},g' \ sed -i 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/CMakeLists.txt
${WRKSRC}/CMakeLists.txt
post-install: post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications ${INSTALL_DATA_DIR} ${PREFIX}/share/applications