install manuals to the correct location, bump PKGNAME.

This commit is contained in:
sthen 2009-05-27 12:59:45 +00:00
parent 44034054f8
commit b45f79bdd9
3 changed files with 25 additions and 10 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2009/04/20 13:35:42 sthen Exp $
# $OpenBSD: Makefile,v 1.3 2009/05/27 12:59:45 sthen Exp $
COMMENT = identify control points from groups of overlapping images
DISTNAME = autopano-sift-C-2.5.0
PKGNAME = ${DISTNAME:S/C/c/}p0
PKGNAME = ${DISTNAME:S/C/c/}p1
CATEGORIES = graphics
@ -32,6 +32,10 @@ CONFIGURE_STYLE = cmake
NO_REGRESS = Yes
# dos line-endings in file needing patch
post-extract:
@perl -i -pe 's/\r$$//' ${WRKSRC}/CMakeLists.txt
pre-configure:
${SUBST_CMD} ${WRKSRC}/CMakeModules/FindPNG.cmake

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1 2009/05/27 12:59:45 sthen Exp $
--- CMakeLists.txt.orig Wed May 27 13:57:42 2009
+++ CMakeLists.txt Wed May 27 13:57:44 2009
@@ -146,8 +146,8 @@ endif (WIN32)
# documentation
FILE(GLOB MAN_PAGES_1 doc/*.1)
FILE(GLOB MAN_PAGES_7 doc/*.7)
-install(FILES ${MAN_PAGES_1} DESTINATION share/man/man1)
-install(FILES ${MAN_PAGES_7} DESTINATION share/man/man7)
+install(FILES ${MAN_PAGES_1} DESTINATION man/man1)
+install(FILES ${MAN_PAGES_7} DESTINATION man/man7)
## Test exectuables.

View File

@ -1,12 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/04/19 11:14:41 sthen Exp $
@comment $OpenBSD: PLIST,v 1.2 2009/05/27 12:59:45 sthen Exp $
@bin bin/autopano
bin/autopano-c-complete.sh
@bin bin/autopano-sift-c
@bin bin/generatekeys
share/man/
share/man/man1/
@man share/man/man1/autopano-c-complete.1
@man share/man/man1/autopano.1
@man share/man/man1/generatekeys.1
share/man/man7/
@man share/man/man7/autopano-sift-c.7
@man man/man1/autopano-c-complete.1
@man man/man1/autopano.1
@man man/man1/generatekeys.1
@man man/man7/autopano-sift-c.7