diff options
author | rillig <rillig@pkgsrc.org> | 2007-12-01 12:49:05 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-12-01 12:49:05 +0000 |
commit | 3475ef7b4c572a2995f04f9e8fc89f331d6826ab (patch) | |
tree | b4220edcd8c583c1c71ff4c80fe16fc4d85037ed /lang | |
parent | bee076e3d91252e71454d7275a5fe196fd91eada (diff) | |
download | pkgsrc-3475ef7b4c572a2995f04f9e8fc89f331d6826ab.tar.gz |
Cleaned up the package. The only functional change is that the man/man3
directory is created, which means that all files are properly installed.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sr/Makefile | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile index aa6369ca43e..787d81893ff 100644 --- a/lang/sr/Makefile +++ b/lang/sr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/03/25 10:04:28 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2007/12/01 12:49:05 rillig Exp $ # DISTNAME= sr233 @@ -13,30 +13,20 @@ HOMEPAGE= http://www.cs.arizona.edu/sr/ COMMENT= The SR language compiler and run time system WRKSRC= ${WRKDIR} - -ONLY_FOR_PLATFORM= NetBSD-[2-9]*-* - - TEST_TARGET= verify +INSTALLATION_DIRS_FROM_PLIST=yes -pre-configure: - ${MV} ${WRKSRC}/Configuration \ - ${WRKSRC}/Configuration.template - ${SED} -e 's,_LOCALBASE_,${LOCALBASE},g' \ - -e 's,_WRKSRC_,${WRKSRC},g' \ - -e 's,_XINC_,${X11BASE}/include,g' \ - -e 's,_XLIB_,${X11BASE}/lib,g' \ - ${WRKSRC}/Configuration.template \ - > ${WRKSRC}/Configuration - -pre-install: - -${MKDIR} ${PREFIX}/lib/sr +SUBST_CLASSES+= sr +SUBST_STAGE.sr= pre-configure +SUBST_FILES.sr= Configuration +SUBST_SED.sr= -e 's,_LOCALBASE_,${LOCALBASE},g' +SUBST_SED.sr+= -e 's,_WRKSRC_,${WRKSRC},g' +SUBST_SED.sr+= -e 's,_XINC_,${X11BASE}/include,g' +SUBST_SED.sr+= -e 's,_XLIB_,${X11BASE}/lib,g' post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sr - cd ${WRKSRC}/ps && \ - ${INSTALL_DATA} *.ps ${PREFIX}/share/doc/sr + ${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${PREFIX}/bin + cd ${WRKSRC}/ps && ${INSTALL_DATA} *.ps ${PREFIX}/share/doc/sr .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |